2008-10-04 Richard Guenther <rguenther@suse.de>
commitc477520dd40bd817b556fb164c1940c96b2ce542
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Oct 2008 14:19:48 +0000 (4 14:19 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Oct 2008 14:19:48 +0000 (4 14:19 +0000)
tree2dd072aa0bde225c3eaae2c8ac93ae95850b97da
parent7078e5bbecd85e14e811d2b21c951a875a5a3be3
2008-10-04  Richard Guenther  <rguenther@suse.de>

* tree-ssa-sccvn.c (vn_reference_op_eq): Use types_compatible_p
instead of pointer equality.
(vn_nary_op_eq): Likewise.

* gcc.dg/tree-ssa/ssa-pre-21.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140868 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-21.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c