OSDN Git Service

PR libgomp/32468
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Jul 2007 19:22:47 +0000 (19:22 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Jul 2007 19:22:47 +0000 (19:22 +0000)
commitde7ef844633e44948aed99a583fda34372c1760d
treee8a300b94b510ed658c3b719e55917d2e3346017
parentfc5f9e0cc5194f37e80475b86404e69b048e7d62
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126226 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gomp/pr32468-1.c [new file with mode: 0644]