https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63916

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jun  3 08:02:10 2015
New Revision: 224061

URL: https://gcc.gnu.org/viewcvs?rev=224061&root=gcc&view=rev
Log:
2015-06-03  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/63916
        * tree-ssa-sccvn.c (vn_reference_maybe_forwprop_address):
        Forward-propagate non-invariant addresses by splicing their
        reference ops if the result isn't going to be used by PRE.
        (vn_reference_lookup_3): Remove pointless assert.

        * gcc.dg/tree-ssa/ssa-fre-45.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-45.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-sccvn.c

Reply via email to