http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51245

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-06 
11:41:04 UTC ---
Author: rguenth
Date: Tue Dec  6 11:41:00 2011
New Revision: 182044

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182044
Log:
2011-12-06  Richard Guenther  <rguent...@suse.de>

    PR tree-optimization/51245
    * tree-ssa-sccvn.c (vn_reference_lookup_or_insert_constant_for_pieces):
    New function.
    (vn_reference_lookup_3): Use it.  Properly valueize all refs
    we create.

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

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr51245.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-sccvn.c

Reply via email to