diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-05-31 21:07:41 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-05-31 21:07:41 -0400 |
commit | fd25a29a316f46d70e38e5cd31ff4f19219556f3 (patch) | |
tree | 77765a08fe1361b01d69313c5a3024c5da4a676d | |
parent | 8131413b99b0d7b6a3e3bc1d396b5b98400d6306 (diff) | |
download | gcc-fd25a29a316f46d70e38e5cd31ff4f19219556f3.zip gcc-fd25a29a316f46d70e38e5cd31ff4f19219556f3.tar.gz gcc-fd25a29a316f46d70e38e5cd31ff4f19219556f3.tar.bz2 |
(const_uint32_operand): Reject negative numbers.
From-SVN: r9859
-rw-r--r-- | gcc/config/m68k/m68k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 95354c3..b66c837 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -2570,7 +2570,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 + return ((GET_CODE (op) == CONST_INT && INTVAL (op) >= 0) || (GET_CODE (op) == CONST_DOUBLE && CONST_DOUBLE_HIGH (op) == 0)); #endif } |