This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/70680] [5/6 Regression] OpenMP SIMD linear variable privatized too eagerly


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  <jakub@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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]