fold-const.c (operand_equal_p): Pass flags in recursive calls for binary and relation...
authorRoger Sayle <roger@eyesopen.com>
Mon, 21 Jun 2004 12:59:58 +0000 (12:59 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Mon, 21 Jun 2004 12:59:58 +0000 (12:59 +0000)
commit54d581a26ea5cc6ec540be1f108d18db0bbd365a
treefbe467313f9d7b88edaeea4235a6c64516615a03
parent19aec1956502bdf46a6c859ca0fa7e4666886bca
fold-const.c (operand_equal_p): Pass flags in recursive calls for binary and relational operations.

* fold-const.c (operand_equal_p): Pass flags in recursive calls for
binary and relational operations.  Add support for TRUTH_ANDIF_EXPR,
TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR and TRUTH_XOR_EXPR.
* tree.c (commutative_tree_code): Also list UNORDERED_EXPR,
ORDERED_EXPR, UNEQ_EXPR, LTGT_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR
and TRUTH_XOR_EXPR.

From-SVN: r83433
gcc/ChangeLog
gcc/fold-const.c
gcc/tree.c