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



--- Comment #33 from Richard Biener <rguenth at gcc dot gnu.org> 2013-03-18 
08:53:51 UTC ---

Author: rguenth

Date: Mon Mar 18 08:53:42 2013

New Revision: 196771



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196771

Log:

2013-03-18  Richard Biener  <rguent...@suse.de>



    PR tree-optimization/3713

    * tree-ssa-sccvn.c (visit_copy): Simplify.  Always propagate

    has_constants and expr.

    (stmt_has_constants): Properly valueize SSA names when deciding

    whether the stmt has constants.



    * g++.dg/ipa/devirt-12.C: New testcase.



Added:

    trunk/gcc/testsuite/g++.dg/ipa/devirt-12.C

Modified:

    trunk/gcc/ChangeLog

    trunk/gcc/testsuite/ChangeLog

    trunk/gcc/tree-ssa-sccvn.c

Reply via email to