re PR middle-end/70680 (OpenMP SIMD linear variable privatized too eagerly)
authorJakub Jelinek <jakub@redhat.com>
Wed, 20 Apr 2016 01:42:24 +0000 (03:42 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 20 Apr 2016 01:42:24 +0000 (03:42 +0200)
commit843110834c557d7a68c11c9313d426301ca65dc1
treedc9ea5ac797c8fd972ac87c8f46f262df1197ae8
parent743af9719d3413ce7d8e9239d8e280f9b7082f9a
re PR middle-end/70680 (OpenMP SIMD linear variable privatized too eagerly)

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.

From-SVN: r235232
gcc/ChangeLog
gcc/gimplify.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr70680-1.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/pr70680-2.c [new file with mode: 0644]