aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index 023e337..e57531d 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -796,7 +796,8 @@ expand_call (exp, target, ignore, modifier)
}
copy = gen_rtx (MEM, BLKmode,
- allocate_dynamic_stack_space (size_rtx, 0));
+ allocate_dynamic_stack_space (size_rtx, 0,
+ TYPE_ALIGN (type)));
}
else
copy = assign_stack_temp (TYPE_MODE (type), size, 1);