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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jul 17 19:42:37 2017
New Revision: 250288

URL: https://gcc.gnu.org/viewcvs?rev=250288&root=gcc&view=rev
Log:
        PR tree-optimization/81365
        * tree-ssa-phiprop.c (propagate_with_phi): When considering hoisting
        aggregate moves onto bb predecessor edges, make sure there are no
        loads that could alias the lhs in between the start of bb and the
        loads from *phi.

        * g++.dg/torture/pr81365.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/torture/pr81365.C
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/tree-ssa-phiprop.c

Reply via email to