projects
/
scc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a037836
)
Fix AMD64 postfix pointer assignment width
author
Robert Pengelly
<robertapengelly@hotmail.com>
Thu, 17 Sep 2026 13:08:48 +0000
(14:08 +0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Thu, 17 Sep 2026 13:08:48 +0000
(14:08 +0100)
amd64.c
patch
|
blob
|
history
diff --git
a/amd64.c
b/amd64.c
index da9058e880ff33c61ff09d9f41cb09a1d5c8c131..f237a7c15071334540ee02fc56bc33839099bd2d 100644
(file)
--- 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;