m68k.c (const_uint32_operand): Accept any const_int on a 32-bit host.
authorStephen L Moshier <moshier@mediaone.net>
Wed, 7 Mar 2001 01:22:40 +0000 (01:22 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 7 Mar 2001 01:22:40 +0000 (17:22 -0800)
        * config/m68k/m68k.c (const_uint32_operand): Accept any
        const_int on a 32-bit host.

From-SVN: r40276

gcc/ChangeLog
gcc/config/m68k/m68k.c

index 3ad31b0..7c77d36 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-06  Stephen L Moshier  <moshier@mediaone.net>
+
+       * config/m68k/m68k.c (const_uint32_operand): Accept any
+       const_int on a 32-bit host.
+
 2001-03-06  Nicola Pero  <n.pero@mi.flashnet.it>
 
        * objc/objc-act.c (init_objc): Set save_lang_status,
index 0ef6332..f2265b7 100644 (file)
@@ -3334,7 +3334,7 @@ const_uint32_operand (op, mode)
   return (GET_CODE (op) == CONST_INT
          && (INTVAL (op) >= 0 && INTVAL (op) <= 0xffffffffL));
 #else
-  return ((GET_CODE (op) == CONST_INT && INTVAL (op) >= 0)
+  return (GET_CODE (op) == CONST_INT
          || (GET_CODE (op) == CONST_DOUBLE && CONST_DOUBLE_HIGH (op) == 0));
 #endif
 }