gcc/libgomp/testsuite/libgomp.c
Tom de Vries 6be5c241bb Optimize expand_omp_for_static_chunk for chunk_size one
2015-08-24  Tom de Vries  <tom@codesourcery.com>

	PR tree-optimization/65468
	* omp-low.c (expand_omp_for_static_chunk): Remove inner loop if
	chunk_size is one.

	* gcc.dg/gomp/static-chunk-size-one.c: New test.

	* testsuite/libgomp.c/static-chunk-size-one.c: New test.

From-SVN: r227124
2015-08-24 13:14:17 +00:00
..
appendix-a affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
examples-4 re PR libgomp/66950 (FAIL: libgomp.fortran/examples-4/simd-7.f90 -O0 execution test) 2015-07-22 17:19:31 +00:00
affinity-1.c Update copyright years. 2015-01-05 13:33:28 +01:00
atomic-1.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
atomic-2.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
atomic-3.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
atomic-4.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
atomic-5.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
atomic-6.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
atomic-10.c
atomic-11.c
atomic-12.c
atomic-13.c
atomic-14.c
atomic-15.c
atomic-16.c
atomic-17.c
atomic-18.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
autopar-1.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
barrier-1.c
c.exp libgomp.exp (libgomp_target_compile): If $source matches regex $lang_source_re, add $lang_include_flags to options. 2014-07-03 20:45:35 +02:00
cancel-for-1.c
cancel-for-2.c
cancel-parallel-1.c
cancel-parallel-2.c
cancel-parallel-3.c
cancel-sections-1.c
cancel-taskgroup-1.c
cancel-taskgroup-2.c
collapse-1.c
collapse-2.c
collapse-3.c Use dg-additional-options for -std={gnu99,c99} 2015-06-15 13:26:03 +00:00
copyin-1.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
copyin-2.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
copyin-3.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
critical-1.c
critical-2.c
debug-1.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
depend-1.c
depend-2.c
depend-3.c
depend-4.c
depend-5.c libgomp.h (struct gomp_task_depend_entry): Add redundant_out field. 2014-08-01 10:05:13 +02:00
depend-6.c task.c (GOMP_taskgroup_end): If taskgroup->num_children is not zero... 2014-08-04 17:45:50 +02:00
depend-7.c task.c (GOMP_taskgroup_end): If taskgroup->num_children is not zero... 2014-08-04 17:45:50 +02:00
depend-8.c task.c (GOMP_taskgroup_end): If taskgroup->num_children is not zero... 2014-08-04 17:45:50 +02:00
depend-9.c task.c (GOMP_taskgroup_end): If taskgroup->num_children is not zero... 2014-08-04 17:45:50 +02:00
depend-10.c task.c (GOMP_taskgroup_end): If taskgroup->num_children is not zero... 2014-08-04 17:45:50 +02:00
for-1.c Use dg-additional-options for -std={gnu99,c99} 2015-06-15 13:26:03 +00:00
for-1.h
for-2.c Use dg-additional-options for -std={gnu99,c99} 2015-06-15 13:26:03 +00:00
for-2.h gimplify.c (gimplify_omp_for): For #pragma omp for simd iterator not mentioned in clauses use private clause if... 2014-06-24 09:53:52 +02:00
for-3.c Use dg-additional-options for -std={gnu99,c99} 2015-06-15 13:26:03 +00:00
icv-1.c
icv-2.c
lib-1.c
lib-2.c
lock-1.c
lock-2.c
lock-3.c
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
loop-14.c
loop-15.c
loop-16.c
nested-1.c
nested-2.c
nested-3.c
nestedfn-1.c
nestedfn-2.c
nestedfn-3.c
nestedfn-4.c
nestedfn-5.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
nestedfn-6.c
nqueens-1.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
omp_hello.c
omp_matvec.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp_orphan.c
omp_reduction.c
omp_workshare1.c
omp_workshare2.c
omp_workshare3.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp_workshare4.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp-loop01.c
omp-loop02.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp-loop03.c
omp-nested-1.c
omp-parallel-for.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp-parallel-if.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp-single-1.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp-single-2.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp-single-3.c
ordered-1.c
ordered-2.c
ordered-3.c
parallel-1.c
parloops-exit-first-loop-alt-2.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
parloops-exit-first-loop-alt-3.c Fix libgomp.c/parloops-exit-first-loop-alt{,-3}.c testcases 2015-07-08 12:31:00 +00:00
parloops-exit-first-loop-alt-4.c Use abort in parloops-exit-first-loop-alt-{3,4}.c 2015-06-23 15:02:25 +00:00
parloops-exit-first-loop-alt-5.c Add parloops-exit-first-loop-alt-{5,6,7}.c 2015-06-30 11:00:32 +00:00
parloops-exit-first-loop-alt-6.c Add parloops-exit-first-loop-alt-{5,6,7}.c 2015-06-30 11:00:32 +00:00
parloops-exit-first-loop-alt-7.c Add parloops-exit-first-loop-alt-{5,6,7}.c 2015-06-30 11:00:32 +00:00
parloops-exit-first-loop-alt.c Fix libgomp.c/parloops-exit-first-loop-alt{,-3}.c testcases 2015-07-08 12:31:00 +00:00
pr24455-1.c
pr24455.c
pr26171.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
pr26943-1.c
pr26943-2.c
pr26943-3.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
pr26943-4.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
pr29947-1.c
pr29947-2.c
pr30494.c
pr32362-1.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
pr32362-2.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
pr32362-3.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
pr32468.c
pr33880.c
pr34513.c
pr35130.c
pr35196.c
pr35549.c
pr35625.c Fix typo in libgomp/testsuite/libgomp.c/pr35625.c 2015-06-15 13:57:04 +00:00
pr36802-1.c
pr36802-2.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
pr36802-3.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
pr38650.c
pr39154.c Use dg-additional-options for -std={gnu99,c99} 2015-06-15 13:26:03 +00:00
pr39591-1.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
pr39591-2.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
pr39591-3.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
pr42029.c
pr42942.c
pr43893.c
pr46886.c
pr48591.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
pr49897-1.c
pr49897-2.c
pr49898-1.c
pr49898-2.c
pr52547.c
pr58392.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
pr58756.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
pr61200.c re PR libgomp/61200 (internal compiler error: Segmentation fault, assert & openmp) 2014-10-03 09:29:42 +02:00
pr64734.c re PR middle-end/64734 (ICE at omp lowering) 2015-01-23 19:19:50 +01:00
pr64824.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
pr64868.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
pr66133.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
pr66199-1.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
pr66199-2.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
pr66714.c re PR libgomp/66714 (ICE in loc_list_from_tree with -g) 2015-07-24 07:38:43 -07:00
private-1.c
reduction-1.c
reduction-2.c
reduction-3.c
reduction-4.c
reduction-5.c
reduction-6.c
sections-1.c
sections-2.c
shared-1.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
shared-2.c
shared-3.c
simd-1.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-2.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-3.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-4.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-5.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-6.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-7.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-8.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-9.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-10.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-11.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-12.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-13.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-14.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-15.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-16.c Use dg-additional-options for -std={gnu99,c99} 2015-06-15 13:26:03 +00:00
simd-17.c Use dg-additional-options for -std={gnu99,c99} 2015-06-15 13:26:03 +00:00
single-1.c
single-2.c
sort-1.c Update copyright years. 2015-01-05 13:33:28 +01:00
static-chunk-size-one.c Optimize expand_omp_for_static_chunk for chunk_size one 2015-08-24 13:14:17 +00:00
target-1.c
target-2.c
target-3.c
target-4.c
target-5.c
target-6.c
target-7.c [PATCH 7/7] OpenMP 4.0 offloading infrastructure: testsuite. 2014-11-13 13:56:22 +00:00
target-8.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
target-9.c Make fopenmp an LTO option 2015-01-23 12:53:55 +00:00
target-10.c c-decl.c (c_decl_attributes): Also add "omp declare target" attribute for DECL_EXTERNAL VAR_DECLs. 2015-03-19 20:12:43 +01:00
target-critical-1.c omp-low.c (lower_omp_critical): Mark critical sections inside target functions as offloadable. 2014-11-28 13:59:49 +00:00
task-1.c
task-2.c
task-3.c
task-4.c
task-5.c
taskgroup-1.c
thread-limit-1.c affinity-1.c: Include <sys/wait.h>. 2014-10-06 11:54:24 +00:00
thread-limit-2.c affinity-1.c: Include <sys/wait.h>. 2014-10-06 11:54:24 +00:00
thread-limit-3.c
udr-1.c
udr-2.c
udr-3.c
uns-outer-4.c Handle double reduction in parloops 2015-07-28 07:54:04 +00:00
vla-1.c