(const_uint32_operand): Reject negative numbers.
From-SVN: r9859
This commit is contained in:
parent
8131413b99
commit
fd25a29a31
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user