OSDN Git Service

2012-05-03 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 May 2012 08:49:03 +0000 (08:49 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 May 2012 08:49:03 +0000 (08:49 +0000)
commit80de24b889871941334b6aeae5cdc103907fe92c
treed38a316e9a51f3588da6ea4b6a467e7452f407f3
parentf79d1b6f8e894142d635c17afd7f661527d8945a
2012-05-03  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53144
* tree-ssa-sccvn.c (vn_reference_lookup_or_insert_constant_for_pieces):
Rename to ...
(vn_reference_lookup_or_insert_for_pieces): ... this.  Properly deal
with SSA name values.
(vn_reference_lookup_3): Adjust callers.

* gcc.dg/torture/pr53144.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187080 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr53144.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c