re PR rtl-optimization/25130 (miscompilation in GCSE)
authorSteven Bosscher <stevenb.gcc@gmail.com>
Tue, 3 Jan 2006 06:20:21 +0000 (06:20 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Tue, 3 Jan 2006 06:20:21 +0000 (06:20 +0000)
commit78b76d0884d435c6e05d023db71a8b00c0f044b2
tree0f27e072946d5679715a3b35a103656388cb972e
parent0884546e1b92fe109e30cca3295e6212e4b24567
re PR rtl-optimization/25130 (miscompilation in GCSE)

* 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

From-SVN: r109264
gcc/ChangeLog
gcc/cse.c
gcc/emit-rtl.c
gcc/fold-const.c