gcc/libgomp
Jakub Jelinek 5a0f4dd395 omp-low.c (extract_omp_for_data): For collapsed loops...
* omp-low.c (extract_omp_for_data): For collapsed loops,
	if at least one of the loops is known at compile time to
	iterate zero times, set count to 0.
	(expand_omp_regimplify_p): New function.
	(expand_omp_for_generic): For collapsed loops, if at least
	one of the loops isn't known to iterate at least once,
	add runtime check with setting count to 0.
	(expand_omp_for_static_nochunk, expand_omp_for_static_chunk):
	For unsigned types if it isn't known at compile time that
	the loop will iterate at least once, add runtime check to bypass
	the whole loop if initial condition isn't true.

	* testsuite/libgomp.c/loop-13.c: New test.
	* testsuite/libgomp.c/loop-14.c: New test.
	* testsuite/libgomp.c/loop-15.c: New test.
	* testsuite/libgomp.c++/loop-13.C: New test.
	* testsuite/libgomp.c++/loop-14.C: New test.
	* testsuite/libgomp.c++/loop-15.C: New test.

From-SVN: r198966
2013-05-16 12:43:33 +02:00
..
config re PR sanitizer/55561 (TSAN: provide a TSAN instrumented libgomp) 2013-01-31 17:57:09 +01:00
testsuite omp-low.c (extract_omp_for_data): For collapsed loops... 2013-05-16 12:43:33 +02:00
ChangeLog omp-low.c (extract_omp_for_data): For collapsed loops... 2013-05-16 12:43:33 +02:00
ChangeLog.graphite
Makefile.am
Makefile.in
acinclude.m4
aclocal.m4
alloc.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
barrier.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
config.h.in
configure
configure.ac
configure.tgt
critical.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
env.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
error.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
fortran.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
iter.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
iter_ull.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
libgomp.h Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
libgomp.map
libgomp.spec.in
libgomp.texi Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
libgomp_f.h.in Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
libgomp_g.h Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
loop.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
loop_ull.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
omp.h.in Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
omp_lib.f90.in Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
omp_lib.h.in Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
ordered.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
parallel.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
sections.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
single.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
task.c task.c (GOMP_task, [...]): Comment. 2013-02-01 23:22:41 +10:30
team.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00
work.c Update copyright years in libgomp. 2013-01-14 18:18:49 +00:00