gcc/libgomp
Jakub Jelinek c26dffff5c re PR fortran/49792 (OpenMP workshare: Wrong result with array assignment)
PR fortran/49792
	* trans-expr.c (gfc_trans_assignment_1): Set OMPWS_SCALARIZER_WS
	bit in ompws_flags only if loop.temp_ss is NULL, and clear it if
	lhs needs reallocation.
	* trans-openmp.c (gfc_trans_omp_workshare): Don't return early if
	code is NULL, emit a barrier if workshare emitted no code at all
	and NOWAIT clause isn't present.

	* testsuite/libgomp.fortran/pr49792-1.f90: New test.
	* testsuite/libgomp.fortran/pr49792-2.f90: New test.

From-SVN: r177898
2011-08-19 15:25:22 +02:00
..
config configure.ac (THREADS): Remove posix95. 2011-08-08 15:39:35 +00:00
testsuite re PR fortran/49792 (OpenMP workshare: Wrong result with array assignment) 2011-08-19 15:25:22 +02:00
acinclude.m4
aclocal.m4
alloc.c
barrier.c
ChangeLog re PR fortran/49792 (OpenMP workshare: Wrong result with array assignment) 2011-08-19 15:25:22 +02:00
ChangeLog.graphite
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