diff options
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/gcc/gcc/config/m68k/m68k.c | 2 | ||||
| -rw-r--r-- | gnu/dist/toolchain/gcc/config/m68k/m68k.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gnu/dist/gcc/gcc/config/m68k/m68k.c b/gnu/dist/gcc/gcc/config/m68k/m68k.c index 694162dd3d6..592a772660d 100644 --- a/gnu/dist/gcc/gcc/config/m68k/m68k.c +++ b/gnu/dist/gcc/gcc/config/m68k/m68k.c @@ -2406,7 +2406,7 @@ output_addsi3 (operands) /* These insns can result from reloads to access stack slots over 64k from the frame pointer. */ if (GET_CODE (operands[2]) == CONST_INT - && INTVAL (operands[2]) + 0x8000 >= (unsigned) 0x10000) + && INTVAL (operands[2]) + 0x8000 >= (HOST_WIDE_INT) 0x10000) return "move%.l %2,%0\n\tadd%.l %1,%0"; #ifdef SGS if (GET_CODE (operands[2]) == REG) diff --git a/gnu/dist/toolchain/gcc/config/m68k/m68k.c b/gnu/dist/toolchain/gcc/config/m68k/m68k.c index 12fd36c8c57..3789b7d8c63 100644 --- a/gnu/dist/toolchain/gcc/config/m68k/m68k.c +++ b/gnu/dist/toolchain/gcc/config/m68k/m68k.c @@ -2119,7 +2119,7 @@ output_addsi3 (operands) /* These insns can result from reloads to access stack slots over 64k from the frame pointer. */ if (GET_CODE (operands[2]) == CONST_INT - && INTVAL (operands[2]) + 0x8000 >= (unsigned) 0x10000) + && INTVAL (operands[2]) + 0x8000 >= (HOST_WIDE_INT) 0x10000) return "move%.l %2,%0\n\tadd%.l %1,%0"; #ifdef SGS if (GET_CODE (operands[2]) == REG) |
