diff options
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c index cec344b..4ba57be 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -400,7 +400,9 @@ assign_stack_local_1 (machine_mode mode, poly_int64 size, { /* If the required alignment exceeds MAX_SUPPORTED_STACK_ALIGNMENT and it is not OK to reduce it. Align the slot dynamically. */ - if (mode == BLKmode && (kind & ASLK_REDUCE_ALIGN) == 0) + if (mode == BLKmode + && (kind & ASLK_REDUCE_ALIGN) == 0 + && currently_expanding_to_rtl) dynamic_align_addr = true; else { |