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 Add forgotten ChangeLog entries. 2010-03-08 17:49:42 +00:00
Makefile.am Fix Solaris symbol versioning (PR libstdc++/52188) 2012-02-27 13:51:50 +00:00
Makefile.in Fix Solaris symbol versioning (PR libstdc++/52188) 2012-02-27 13:51:50 +00:00
acinclude.m4 Fix Solaris symbol versioning (PR libstdc++/52188) 2012-02-27 13:51:50 +00:00
aclocal.m4 re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-20 23:41:24 +00:00
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 acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style. 2010-07-05 17:19:33 +00:00
configure * configure: Regenerated. 2012-09-14 19:33:57 -04:00
configure.ac re PR target/40125 (libgcc_s DLL installed in wrong directory in cross toolchain) 2010-12-06 00:50:04 +00:00
configure.tgt AArch64 [9/10] 2012-10-23 17:29:35 +00:00
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 backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
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