From 79cf4b6f9f1d5a65afe4f470a07200359712e17c Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Thu, 17 Sep 2026 14:08:48 +0100 Subject: [PATCH] Fix AMD64 postfix pointer assignment width --- amd64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amd64.c b/amd64.c index da9058e..f237a7c 100644 --- a/amd64.c +++ b/amd64.c @@ -38832,7 +38832,7 @@ static int parse_postfix_assignment_statement_now (void) { } assign_op = tok.kind; - lvalue_size = index_step_size (postfix_copy_lvalue_size); + lvalue_size = postfix_member_pointer_depth > 0 ? (DATA_PTR & 0x1f) : index_step_size (postfix_copy_lvalue_size); if (lvalue_size <= 0) { lvalue_size = DATA_INT & 0x1f; -- 2.34.1