diff options
Diffstat (limited to 'gcc/reload.c')
-rw-r--r-- | gcc/reload.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index f2482fc..fe2ffe6 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -5184,9 +5184,8 @@ find_reloads_address (machine_mode mode, rtx *memrefloc, rtx ad, #if !HARD_FRAME_POINTER_IS_FRAME_POINTER || operand == hard_frame_pointer_rtx #endif -#if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM - || operand == arg_pointer_rtx -#endif + || (FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM + && operand == arg_pointer_rtx) || operand == stack_pointer_rtx) && ! maybe_memory_address_addr_space_p (mode, ad, as, &XEXP (XEXP (ad, 0), 1 - op_index))) |