aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x86_64-gen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/x86_64-gen.c b/x86_64-gen.c
index 0962056..2f4d8fe 100644
--- a/x86_64-gen.c
+++ b/x86_64-gen.c
@@ -993,6 +993,7 @@ static X86_64_Mode classify_x86_64_arg(CType *ty, CType *ret, int *psize, int *p
if (ty->t & (VT_BITFIELD|VT_ARRAY)) {
*psize = 8;
+ *palign = 8;
*reg_count = 1;
ret_t = ty->t;
mode = x86_64_mode_integer;