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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep  7 20:41:42 2017
New Revision: 251857

URL: https://gcc.gnu.org/viewcvs?rev=251857&root=gcc&view=rev
Log:
        Backported from mainline
        2017-09-05  Jakub Jelinek  <ja...@redhat.com>

        PR middle-end/81768
        * omp-low.c (lower_omp_for): Recompute tree invariant if
        gimple_omp_for_initial/final is ADDR_EXPR.

        * gcc.dg/gomp/pr81768-2.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/gomp/pr81768-2.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/omp-low.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to