* fold-const.c (operand_equal_p): Accept a NULL operand 0 for
commit2f16183e45bde2a4c53ef9288a4752b66a1db674
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jan 2006 06:20:21 +0000 (3 06:20 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jan 2006 06:20:21 +0000 (3 06:20 +0000)
tree0f27e072946d5679715a3b35a103656388cb972e
parent1398cbfdee648c91906897a24cbc34d50042406b
* fold-const.c (operand_equal_p): Accept a NULL operand 0 for
COMPONENT_REFs.
* emit-rtl.c (mem_attrs_htab_eq): Use iterative_hash_expr for
hashing trees instead of a pointer hash.
(mem_attrs_htab_eq): Do a deep compare instead of a pointer
compare for MEM_EXPR.

PR rtl-optimization/25130
* cse.c (exp_equiv_p): Compare MEM_ATTRS instead of MEM_ALIAS_SET
when comparing MEMs for GCSE

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