Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/gnu/dist/toolchain/gcc/config/m68k Pull up revision 1.4...



details:   https://anonhg.NetBSD.org/src/rev/08c4ff2f65ad
branches:  netbsd-1-6
changeset: 530881:08c4ff2f65ad
user:      tron <tron%NetBSD.org@localhost>
date:      Sun Oct 19 10:04:00 2003 +0000

description:
Pull up revision 1.4 (requested by matt in ticket #1526):
Cast using HOST_WIDE_INT, not unsigned.

diffstat:

 gnu/dist/toolchain/gcc/config/m68k/m68k.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c5af283fb080 -r 08c4ff2f65ad gnu/dist/toolchain/gcc/config/m68k/m68k.c
--- a/gnu/dist/toolchain/gcc/config/m68k/m68k.c Sun Oct 19 10:01:31 2003 +0000
+++ b/gnu/dist/toolchain/gcc/config/m68k/m68k.c Sun Oct 19 10:04:00 2003 +0000
@@ -2116,7 +2116,7 @@
       /* 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)



Home | Main Index | Thread Index | Old Index