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/7 Regression] OpenMP SIMD linear variable privatized too eagerly


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Apr 20 01:42:24 2016
New Revision: 235232

URL: https://gcc.gnu.org/viewcvs?rev=235232&root=gcc&view=rev
Log:
        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:
    trunk/libgomp/testsuite/libgomp.c/pr70680-1.c
    trunk/libgomp/testsuite/libgomp.c/pr70680-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/libgomp/ChangeLog

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