gcc/libgomp
Jakub Jelinek 03742a9b01 re PR other/39591 (GOMP_loop_end illegally optmized into GOMP_loop_end_nowait)
PR other/39591
	* omp-low.c (remove_exit_barrier): Don't optimize if there are any
	addressable variables in the parallel that could go out of scope while
	running queued tasks.

	* testsuite/libgomp.c/pr39591-1.c: New test.
	* testsuite/libgomp.c/pr39591-2.c: New test.
	* testsuite/libgomp.c/pr39591-3.c: New test.

From-SVN: r145390
2009-04-01 08:54:52 +02:00
..
config re PR libgomp/38270 (libgomp test failures due to missing memory barrier) 2008-12-02 00:18:56 +00:00
testsuite re PR other/39591 (GOMP_loop_end illegally optmized into GOMP_loop_end_nowait) 2009-04-01 08:54:52 +02:00
acinclude.m4 acinclude.m4 (LIBCOMP_CHECK_LINKER_FEATURES): Set libgomp_ld_is_gold. 2009-01-31 17:09:24 +00:00
aclocal.m4 re PR other/35457 (Error building GCC trunk on CELL SPU) 2008-04-18 10:28:53 +00:00
alloc.c
barrier.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
ChangeLog re PR other/39591 (GOMP_loop_end illegally optmized into GOMP_loop_end_nowait) 2009-04-01 08:54:52 +02:00
config.h.in re PR libgomp/38086 (libgomp fails to build if assembler doesn't support .symver) 2009-01-07 23:48:03 +01:00
configure backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
configure.ac proc.c: New file. 2008-09-19 22:27:11 +02:00
configure.tgt proc.c: New file. 2008-09-19 22:27:11 +02:00
critical.c critical.c (GOMP_critical_name_start): Fix *pptr initialization when gomp_mutex_t is larger than pointer and... 2006-06-21 10:59:44 +02:00
env.c env.c (parse_stacksize): Add cast to avoid warning. 2008-06-29 21:41:03 +00:00
error.c
fortran.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
iter_ull.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
iter.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
libgomp_f.h.in c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
libgomp_g.h c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
libgomp.h re PR libgomp/38086 (libgomp fails to build if assembler doesn't support .symver) 2009-01-07 23:48:03 +01:00
libgomp.map c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
libgomp.spec.in
libgomp.texi re PR libgomp/37935 (omp_set_schedule not documented in libgomp.texi) 2008-11-04 19:16:17 +01:00
loop_ull.c re PR bootstrap/36452 (Broken bootstrap while building libgomp.) 2008-06-06 22:30:31 +02:00
loop.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
Makefile.am Makefile.am (libgomp_la_LDFLAGS): Add -no-undefined. 2008-08-31 12:16:09 -06:00
Makefile.in configure: Regenerate for new libtool. 2008-09-26 16:24:34 +00:00
omp_lib.f90.in omp_lib.f90.in: Add "implicit none". 2008-06-12 14:15:29 +02:00
omp_lib.h.in c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
omp.h.in c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
ordered.c
parallel.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
sections.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
single.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
task.c libgomp.h (struct gomp_task): Add in_tied_task field. 2008-06-11 23:43:45 +02:00
team.c team.c (gomp_team_end): Free team immediately if it has just one thread. 2008-07-16 17:35:26 +02:00
work.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00