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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Apr 27 12:22:47 2016
New Revision: 235489

URL: https://gcc.gnu.org/viewcvs?rev=235489&root=gcc&view=rev
Log:
        Backported from mainline
        2016-04-19  Jakub Jelinek  <ja...@redhat.com>

        PR middle-end/70680
        * gimplify.c (gimplify_omp_for): Call omp_notice_variable for
        implicitly linear or lastprivate iterator on the outer context.

        * testsuite/libgomp.c/pr70680-1.c: New test.
        * testsuite/libgomp.c/pr70680-2.c: New test.

Added:
    branches/gcc-6-branch/libgomp/testsuite/libgomp.c/pr70680-1.c
    branches/gcc-6-branch/libgomp/testsuite/libgomp.c/pr70680-2.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/gimplify.c
    branches/gcc-6-branch/libgomp/ChangeLog

Reply via email to