*** empty log message ***

From-SVN: r462
This commit is contained in:
Richard Kenner 1992-03-13 08:58:47 -05:00
parent 8df91b1fdb
commit ef9fe0da13
1 changed files with 6 additions and 1 deletions

View File

@ -1624,6 +1624,10 @@ invert_truthvalue (arg)
invert_truthvalue (TREE_OPERAND (arg, 1)),
invert_truthvalue (TREE_OPERAND (arg, 2)));
case COMPOUND_EXPR:
return build (COMPOUND_EXPR, type, TREE_OPERAND (arg, 0),
invert_truthvalue (TREE_OPERAND (arg, 1)));
case NON_LVALUE_EXPR:
return invert_truthvalue (TREE_OPERAND (arg, 0));
@ -3293,7 +3297,8 @@ fold (expr)
}
/* If what we want is other than LT or EQ, invert the result. */
if (code == GE_EXPR || code == LE_EXPR || code == NE_EXPR)
if ((code == GE_EXPR || code == LE_EXPR || code == NE_EXPR)
&& TREE_CODE (t) == INTEGER_CST)
TREE_INT_CST_LOW (t) ^= 1;
TREE_TYPE (t) = type;
return t;