parent
e92d30482e
commit
34b1b41f3b
|
@ -4518,7 +4518,7 @@ fold (expr)
|
||||||
arg0, integer_zero_node);
|
arg0, integer_zero_node);
|
||||||
|
|
||||||
/* If X is unsigned, convert X < (1 << Y) into X >> Y == 0
|
/* If X is unsigned, convert X < (1 << Y) into X >> Y == 0
|
||||||
and similarly for <= into !=. */
|
and similarly for >= into !=. */
|
||||||
if ((code == LT_EXPR || code == GE_EXPR)
|
if ((code == LT_EXPR || code == GE_EXPR)
|
||||||
&& TREE_UNSIGNED (TREE_TYPE (arg0))
|
&& TREE_UNSIGNED (TREE_TYPE (arg0))
|
||||||
&& TREE_CODE (arg1) == LSHIFT_EXPR
|
&& TREE_CODE (arg1) == LSHIFT_EXPR
|
||||||
|
|
Loading…
Reference in New Issue