2008-09-18 Richard Guenther <rguenther@suse.de>
commit9a7beb5fca4286c28b28d14fae2fa9584a2bf07b
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Sep 2008 15:27:21 +0000 (18 15:27 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Sep 2008 15:27:21 +0000 (18 15:27 +0000)
treed5d3ac4757be317024a8c7493c7dd505ed3ca0bf
parent78fa9ba7f63d3c9ea10d354dc38aad11a2965704
2008-09-18  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/37258
* tree-ssa-sccvn.c (vn_phi_compute_hash): Include the precision
and signedness for integral types.
(vn_phi_eq): Require compatible types.

* gcc.c-torture/compile/pr37258.c: New testcase.

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