r126226 - in /trunk/gcc: ChangeLog omp-low.c te...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Mon Jul 2 19:22:00 GMT 2007


Author: jakub
Date: Mon Jul  2 19:22:47 2007
New Revision: 126226

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126226
Log:
	PR libgomp/32468
	* omp-low.c (check_combined_parallel): New function.
	(lower_omp_parallel): Call it via walk_stmts, set
	OMP_PARALLEL_COMBINED if appropriate.
	(determine_parallel_type): If OMP_FOR resp. OMP_SECTIONS
	isn't the only statement in WS_ENTRY_BB or OMP_RETURN
	the only one in PAR_EXIT_BB and not OMP_PARALLEL_COMBINED,
	don't consider it as combined parallel.

	* gcc.dg/gomp/pr32468-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/gomp/pr32468-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list