mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 18:15:27 +08:00
(range_binop): Set SNG1 to zero if ARG1 is a not a lower or upper
bound. From-SVN: r13161
This commit is contained in:
parent
9a666dda81
commit
4e644c93e0
@ -2669,7 +2669,7 @@ range_binop (code, type, arg0, upper0_p, arg1, upper1_p)
|
||||
for neither. Then compute our result treating them as never equal
|
||||
and comparing bounds to non-bounds as above. */
|
||||
sgn0 = arg0 != 0 ? 0 : (upper0_p ? 1 : -1);
|
||||
sgn1 = arg1 != 0 ? 1 : (upper1_p ? 1 : -1);
|
||||
sgn1 = arg1 != 0 ? 0 : (upper1_p ? 1 : -1);
|
||||
switch (code)
|
||||
{
|
||||
case EQ_EXPR: case NE_EXPR:
|
||||
|
Loading…
Reference in New Issue
Block a user