* gimplify.c (gimplify_adjust_omp_clauses_1): Handle
commit9d172013409a3edff7bb43ed6162bf4d0ee72d58
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 May 2014 17:43:40 +0000 (2 17:43 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 May 2014 17:43:40 +0000 (2 17:43 +0000)
treeaf453d4b9541da0c90d1c0689ff569fa7c986574
parent1fcecb123d804ed63241f44f3d12b8ba0864f0c6
* gimplify.c (gimplify_adjust_omp_clauses_1): Handle
GOVD_FIRSTPRIVATE | GOVD_LASTPRIVATE.
(gimplify_adjust_omp_clauses): Simd region is never
directly nested in combined parallel.  Instead, for linear
with copyin/copyout, if in combined for simd loop, make decl
firstprivate/lastprivate on OMP_FOR.
* omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk,
expand_omp_for_static_chunk): When setting endvar, also set
fd->loop.v to the same value.
libgomp/
* testsuite/libgomp.c/simd-10.c: New test.
* testsuite/libgomp.c/simd-11.c: New test.
* testsuite/libgomp.c/simd-12.c: New test.
* testsuite/libgomp.c/simd-13.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210009 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimplify.c
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/simd-10.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/simd-11.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/simd-12.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/simd-13.c [new file with mode: 0644]