diff options
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index 0b53ac90501..1f98f7cdf1d 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -2025,10 +2025,11 @@ alter_reg (i, from_reg) below. */ adjust = GET_MODE_SIZE (mode) - total_size; if (adjust) - stack_slot = gen_rtx_MEM (mode_for_size (total_size + stack_slot + = adjust_address_nv (x, mode_for_size (total_size * BITS_PER_UNIT, MODE_INT, 1), - plus_constant (XEXP (x, 0), adjust)); + adjust); } spill_stack_slot[from_reg] = stack_slot; |