gcc/libgomp
Vasilis Liaskovitis 34d01e1d17 re PR fortran/35423 (Implement OpenMP workshare)
PR fortran/35423
	* trans.h (OMPWS_WORKSHARE_FLAG, OMPWS_CURR_SINGLEUNIT,
	OMPWS_SCALARIZER_WS, OMPWS_NOWAIT): Define.
	(ompws_flags): New extern decl.
	* trans-array.c (gfc_trans_scalarized_loop_end): Build OMP_FOR
	for the outer dimension if ompws_flags allow it.
	* trans.c (gfc_generate_code): Clear ompws_flags.
	* trans-expr.c (gfc_trans_assignment_1): Allow worksharing
	array assignments inside of !$omp workshare.
	* trans-stmt.c (gfc_trans_where_3): Similarly for where statements
	and constructs.
	* trans-openmp.c (ompws_flags): New variable.
	(gfc_trans_omp_workshare): Rewritten.

	* testsuite/libgomp.fortran/workshare2.f90: New test.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r146397
2009-04-20 12:59:59 +02:00
..
config
testsuite re PR fortran/35423 (Implement OpenMP workshare) 2009-04-20 12:59:59 +02:00
acinclude.m4
aclocal.m4
alloc.c
barrier.c
ChangeLog re PR fortran/35423 (Implement OpenMP workshare) 2009-04-20 12:59:59 +02:00
config.h.in
configure
configure.ac
configure.tgt
critical.c
env.c
error.c
fortran.c
iter_ull.c
iter.c
libgomp_f.h.in
libgomp_g.h
libgomp.h
libgomp.map
libgomp.spec.in
libgomp.texi
loop_ull.c
loop.c
Makefile.am
Makefile.in
omp_lib.f90.in
omp_lib.h.in
omp.h.in
ordered.c
parallel.c
sections.c
single.c
task.c
team.c
work.c