summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2003-10-16 22:02:25 +0000
committermatt <matt@NetBSD.org>2003-10-16 22:02:25 +0000
commit6bcdd1cd1e9836e32d2e4e5469920366b431b7dd (patch)
tree2828da9bf67dadfed5d6bd7ea47347b6ad5e9e3b /gnu
parent99e15c71d03203f0bf0c685acab0620914c81284 (diff)
Cast using HOST_WIDE_INT, not unsigned.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/dist/gcc/gcc/config/m68k/m68k.c2
-rw-r--r--gnu/dist/toolchain/gcc/config/m68k/m68k.c2
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)