re PR rtl-optimization/63475 (Postreload CSE propagates aliased memory operand)
authorUros Bizjak <ubizjak@gmail.com>
Tue, 14 Oct 2014 18:40:59 +0000 (20:40 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 14 Oct 2014 18:40:59 +0000 (20:40 +0200)
commit0777fc02105dd9067329ed9ccfe341a9fb90fdc2
treed9aee1f90a9669265bd2bec0ed8a70b4a7bf84e0
parent2a523cfe4e6304f18117266d34f4ae2603274577
re PR rtl-optimization/63475 (Postreload CSE propagates aliased memory operand)

PR rtl-optimization/63475
* alias.c (true_dependence_1): Always use get_addr to extract
true address operands from x_addr and mem_addr.  Use extracted
address operands to check for references with alignment ANDs.
Use extracted address operands with find_base_term and
base_alias_check. For noncanonicalized operands call canon_rtx with
extracted address operand.
(write_dependence_1): Ditto.
(may_alias_p): Ditto.  Remove unused calls to canon_rtx.

From-SVN: r216217
gcc/ChangeLog
gcc/alias.c