http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53144
--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-03 08:49:09 UTC --- Author: rguenth Date: Thu May 3 08:49:03 2012 New Revision: 187080 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187080 Log: 2012-05-03 Richard Guenther <rguent...@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. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr53144.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/gcc/tree-ssa-sccvn.c