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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Nov 26 13:31:21 2018
New Revision: 266460

URL: https://gcc.gnu.org/viewcvs?rev=266460&root=gcc&view=rev
Log:
2018-11-26  Richard Biener  <rguent...@suse.de>

        Backport from mainline
        2018-10-15  Richard Biener  <rguent...@suse.de>

        PR middle-end/87610
        * tree-ssa-structalias.c (struct vls_data): Add escaped_p member.
        (visit_loadstore): When a used restrict tag escaped verify that
        the points-to solution of "other" pointers do not include
        escaped.
        (compute_dependence_clique): If a used restrict tag escaped
        communicated that down to visit_loadstore.

        * gcc.dg/torture/restrict-6.c: New testcase.

        2018-10-25  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/87665
        PR tree-optimization/87745
        * tree-vectorizer.h (get_earlier_stmt): Remove.
        (get_later_stmt): Pick up UID from the original non-pattern stmt.

        * gfortran.dg/20181025-1.f: New testcase.

        2018-10-24  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/87665
        * tree-vect-data-refs.c (vect_preserves_scalar_order_p): Adjust
        to reflect reality.

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

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr87665.c
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/restrict-6.c
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/20181025-1.f
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/tree-ssa-structalias.c
    branches/gcc-7-branch/gcc/tree-vect-data-refs.c
    branches/gcc-7-branch/gcc/tree-vectorizer.h

Reply via email to