OSDN Git Service

* fold-const.c (operand_equal_p): Pass flags in recursive calls for
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jun 2004 12:59:58 +0000 (12:59 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jun 2004 12:59:58 +0000 (12:59 +0000)
commitbd975dc20bbce832c45e9be52c0721a2c6317054
treefbe467313f9d7b88edaeea4235a6c64516615a03
parentf1278f7e7a638f4b9fc8f53ff4d00c88b8275259
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83433 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/tree.c