diff options
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index 845883a..8eee024 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -2496,7 +2496,7 @@ eliminate_regs (x, mem_mode, insn) We special-case the commonest situation in eliminate_regs_in_insn, so just replace a PLUS with a PLUS here, unless inside a MEM. */ - if (mem_mode && GET_CODE (XEXP (x, 1)) == CONST_INT + if (mem_mode != 0 && GET_CODE (XEXP (x, 1)) == CONST_INT && INTVAL (XEXP (x, 1)) == - ep->previous_offset) return ep->to_rtx; else |