gcc/libgomp/testsuite/libgomp.c
Jakub Jelinek 95782571f3 gimplify.c (gimplify_adjust_omp_clauses_1): Handle GOVD_FIRSTPRIVATE | GOVD_LASTPRIVATE.
* 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.

From-SVN: r210009
2014-05-02 19:43:40 +02:00
..
appendix-a
affinity-1.c Update copyright years in libgomp/ 2014-01-02 22:25:54 +00:00
atomic-1.c
atomic-2.c
atomic-3.c
atomic-4.c
atomic-5.c
atomic-6.c
atomic-10.c
atomic-11.c backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
atomic-12.c backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
atomic-13.c backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
atomic-14.c target.c: New file. 2013-10-11 11:26:50 +02:00
atomic-15.c target.c: New file. 2013-10-11 11:26:50 +02:00
atomic-16.c target.c: New file. 2013-10-11 11:26:50 +02:00
atomic-17.c c-parser.c (c_parser_omp_atomic): Allow seq_cst before atomic-clause... 2014-04-24 23:20:28 +02:00
autopar-1.c
barrier-1.c
c.exp libgomp: Prepare for testcases without -fopenmp. 2013-11-07 16:07:58 +01:00
cancel-for-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-for-2.c target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-parallel-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-parallel-2.c target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-parallel-3.c target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-sections-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-taskgroup-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-taskgroup-2.c target.c: New file. 2013-10-11 11:26:50 +02:00
collapse-1.c
collapse-2.c
collapse-3.c
copyin-1.c
copyin-2.c
copyin-3.c
critical-1.c
critical-2.c
debug-1.c
depend-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
depend-2.c target.c: New file. 2013-10-11 11:26:50 +02:00
depend-3.c target.c: New file. 2013-10-11 11:26:50 +02:00
depend-4.c target.c: New file. 2013-10-11 11:26:50 +02:00
for-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
for-1.h target.c: New file. 2013-10-11 11:26:50 +02:00
for-2.c target.c: New file. 2013-10-11 11:26:50 +02:00
for-2.h target.c: New file. 2013-10-11 11:26:50 +02:00
for-3.c target.c: New file. 2013-10-11 11:26:50 +02:00
icv-1.c
icv-2.c affinity-1.c: Remove alloca.h inlcude. 2013-12-17 19:05:32 +01:00
lib-1.c lib-1.c (main): Add missing error check. 2013-10-11 12:43:15 +02:00
lib-2.c
lock-1.c
lock-2.c
lock-3.c affinity-1.c: Remove alloca.h inlcude. 2013-12-17 19:05:32 +01:00
loop-1.c
loop-2.c
loop-3.c
loop-4.c
loop-5.c
loop-6.c
loop-7.c
loop-8.c
loop-9.c
loop-10.c
loop-11.c
loop-12.c
loop-13.c omp-low.c (extract_omp_for_data): For collapsed loops... 2013-05-16 12:43:33 +02:00
loop-14.c omp-low.c (extract_omp_for_data): For collapsed loops... 2013-05-16 12:43:33 +02:00
loop-15.c omp-low.c (extract_omp_for_data): For collapsed loops... 2013-05-16 12:43:33 +02:00
loop-16.c tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define. 2014-04-24 23:17:32 +02:00
nested-1.c
nested-2.c
nested-3.c
nestedfn-1.c
nestedfn-2.c
nestedfn-3.c
nestedfn-4.c
nestedfn-5.c
nestedfn-6.c
nqueens-1.c
omp-loop01.c
omp-loop02.c
omp-loop03.c
omp-nested-1.c
omp-parallel-for.c
omp-parallel-if.c
omp-single-1.c
omp-single-2.c
omp-single-3.c
omp_hello.c
omp_matvec.c
omp_orphan.c
omp_reduction.c
omp_workshare1.c
omp_workshare2.c
omp_workshare3.c
omp_workshare4.c
ordered-1.c
ordered-2.c
ordered-3.c
parallel-1.c
pr24455-1.c
pr24455.c
pr26171.c
pr26943-1.c
pr26943-2.c re PR c/53580 (Internal Segmentation fault in nested "omp parallel", "omp parallel for" and "omp parallel for reduction" Directives) 2012-06-07 08:36:55 +02:00
pr26943-3.c re PR c/53580 (Internal Segmentation fault in nested "omp parallel", "omp parallel for" and "omp parallel for reduction" Directives) 2012-06-07 08:36:55 +02:00
pr26943-4.c re PR c/53580 (Internal Segmentation fault in nested "omp parallel", "omp parallel for" and "omp parallel for reduction" Directives) 2012-06-07 08:36:55 +02:00
pr29947-1.c
pr29947-2.c
pr30494.c
pr32362-1.c
pr32362-2.c
pr32362-3.c
pr32468.c
pr33880.c
pr34513.c
pr35130.c
pr35196.c
pr35549.c
pr35625.c
pr36802-1.c
pr36802-2.c
pr36802-3.c
pr38650.c
pr39154.c
pr39591-1.c
pr39591-2.c
pr39591-3.c
pr42029.c
pr42942.c
pr43893.c
pr46886.c re PR tree-optimization/46886 (wrong code with -ftree-parallelize-loops -fno-tree-ch) 2012-02-08 15:28:01 +00:00
pr48591.c affinity-1.c: Remove alloca.h inlcude. 2013-12-17 19:05:32 +01:00
pr49897-1.c re PR middle-end/49897 (nesting lastprivate gives incorrect result) 2011-07-29 19:45:42 +02:00
pr49897-2.c re PR middle-end/49897 (nesting lastprivate gives incorrect result) 2011-07-29 19:45:42 +02:00
pr49898-1.c re PR middle-end/49897 (nesting lastprivate gives incorrect result) 2011-07-29 19:45:42 +02:00
pr49898-2.c re PR middle-end/49897 (nesting lastprivate gives incorrect result) 2011-07-29 19:45:42 +02:00
pr52547.c re PR middle-end/52547 (ICE with openmp with nested function which requires a trampoline) 2012-03-22 20:25:36 +01:00
pr58392.c target.c: New file. 2013-10-11 11:26:50 +02:00
pr58756.c re PR libgomp/58756 (FAIL: libgomp.c/pr58392.c execution test) 2013-12-16 11:34:28 +01:00
private-1.c
reduction-1.c
reduction-2.c
reduction-3.c
reduction-4.c
reduction-5.c
reduction-6.c backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
sections-1.c
sections-2.c omp-low.c (expand_omp_sections): Always pass len - 1 to GOMP_sections_start, even if !exit_reachable. 2013-09-19 13:52:52 +02:00
shared-1.c
shared-2.c
shared-3.c
simd-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
simd-2.c target.c: New file. 2013-10-11 11:26:50 +02:00
simd-3.c target.c: New file. 2013-10-11 11:26:50 +02:00
simd-4.c target.c: New file. 2013-10-11 11:26:50 +02:00
simd-5.c target.c: New file. 2013-10-11 11:26:50 +02:00
simd-6.c target.c: New file. 2013-10-11 11:26:50 +02:00
simd-7.c tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define. 2014-04-24 23:17:32 +02:00
simd-8.c tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define. 2014-04-24 23:17:32 +02:00
simd-9.c tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define. 2014-04-24 23:17:32 +02:00
simd-10.c gimplify.c (gimplify_adjust_omp_clauses_1): Handle GOVD_FIRSTPRIVATE | GOVD_LASTPRIVATE. 2014-05-02 19:43:40 +02:00
simd-11.c gimplify.c (gimplify_adjust_omp_clauses_1): Handle GOVD_FIRSTPRIVATE | GOVD_LASTPRIVATE. 2014-05-02 19:43:40 +02:00
simd-12.c gimplify.c (gimplify_adjust_omp_clauses_1): Handle GOVD_FIRSTPRIVATE | GOVD_LASTPRIVATE. 2014-05-02 19:43:40 +02:00
simd-13.c gimplify.c (gimplify_adjust_omp_clauses_1): Handle GOVD_FIRSTPRIVATE | GOVD_LASTPRIVATE. 2014-05-02 19:43:40 +02:00
single-1.c
single-2.c
sort-1.c Update copyright years in libgomp/ 2014-01-02 22:25:54 +00:00
target-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
target-2.c target.c: New file. 2013-10-11 11:26:50 +02:00
target-3.c target.c: New file. 2013-10-11 11:26:50 +02:00
target-4.c target.c: New file. 2013-10-11 11:26:50 +02:00
target-5.c target.c: New file. 2013-10-11 11:26:50 +02:00
target-6.c target.c: New file. 2013-10-11 11:26:50 +02:00
target-7.c target.c: New file. 2013-10-11 11:26:50 +02:00
task-1.c
task-2.c
task-3.c
task-4.c
task-5.c backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
taskgroup-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
thread-limit-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
thread-limit-2.c target.c: New file. 2013-10-11 11:26:50 +02:00
thread-limit-3.c target.c: New file. 2013-10-11 11:26:50 +02:00
udr-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
udr-2.c target.c: New file. 2013-10-11 11:26:50 +02:00
udr-3.c target.c: New file. 2013-10-11 11:26:50 +02:00
vla-1.c