From: Stephen L Moshier Date: Wed, 7 Mar 2001 01:22:40 +0000 (+0000) Subject: m68k.c (const_uint32_operand): Accept any const_int on a 32-bit host. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07ed7ecf08932be1a85498b461ca2c95e466d964;p=platform%2Fupstream%2Fgcc.git m68k.c (const_uint32_operand): Accept any const_int on a 32-bit host. * config/m68k/m68k.c (const_uint32_operand): Accept any const_int on a 32-bit host. From-SVN: r40276 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3ad31b0..7c77d36 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-03-06 Stephen L Moshier + + * config/m68k/m68k.c (const_uint32_operand): Accept any + const_int on a 32-bit host. + 2001-03-06 Nicola Pero * objc/objc-act.c (init_objc): Set save_lang_status, diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 0ef6332..f2265b7 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -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 }