gcc/libgomp/testsuite/libgomp.c
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
..
appendix-a
atomic-1.c cpuid.h: New file. 2007-09-05 19:43:01 +02:00
atomic-2.c cpuid.h: New file. 2007-09-05 19:43:01 +02:00
atomic-3.c gimplify.c (goa_lhs_expr_p): Allow different ADDR_EXPR nodes for the same VAR_DECL. 2008-03-06 18:28:54 +01:00
atomic-4.c re PR middle-end/35611 (FAIL: libgomp.c/omp-nested-1.c execution test) 2008-03-18 13:21:02 +01:00
atomic-5.c atomic-5.c: Cleanup cpuid usage. 2009-03-25 14:36:02 +01:00
atomic-6.c atomic-5.c: Cleanup cpuid usage. 2009-03-25 14:36:02 +01:00
atomic-10.c
autopar-1.c re PR middle-end/36106 (#pragma omp atomic issues with floating point types) 2008-05-07 09:28:14 +02:00
barrier-1.c
c.exp testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists. 2008-09-05 19:29:26 +00:00
collapse-1.c * testsuite/libgomp.c/collapse-1.c (main): Add private(k) clause. 2008-12-27 16:20:28 +01:00
collapse-2.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
collapse-3.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
copyin-1.c
copyin-2.c
copyin-3.c
critical-1.c
critical-2.c
debug-1.c re PR debug/36617 (Debug info for OpenMP code is almost non-existent) 2008-06-27 21:42:32 +02:00
icv-1.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
icv-2.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
lib-1.c
lib-2.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
lock-1.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
lock-2.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
lock-3.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
loop-1.c
loop-2.c
loop-3.c gimplify.c (omp_is_private): Don't return true if decl is not already private on #pragma omp for or #pragma... 2008-06-27 21:45:14 +02:00
loop-4.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
loop-5.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
loop-6.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
loop-7.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
loop-8.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
loop-9.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
loop-10.c gimplify.c (omp_is_private): Don't return true if decl is not already private on #pragma omp for or #pragma... 2008-06-27 21:45:14 +02:00
loop-11.c re PR c/39495 (OMP parallel loop w/ unsigned index var rejected) 2009-03-23 22:05:30 +01:00
loop-12.c re PR c/39495 (OMP parallel loop w/ unsigned index var rejected) 2009-03-23 22:05:30 +01:00
nested-1.c
nested-2.c
nested-3.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
nestedfn-1.c
nestedfn-2.c
nestedfn-3.c
nestedfn-4.c
nestedfn-5.c
nestedfn-6.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
nqueens-1.c * testsuite/libgomp.c/nqueens-1.c: New test. 2008-06-19 12:51:30 +02:00
omp_hello.c
omp_matvec.c
omp_orphan.c
omp_reduction.c
omp_workshare1.c
omp_workshare2.c
omp_workshare3.c
omp_workshare4.c
omp-loop01.c
omp-loop02.c
omp-loop03.c
omp-nested-1.c
omp-parallel-for.c
omp-parallel-if.c
omp-single-1.c
omp-single-2.c
omp-single-3.c
ordered-1.c
ordered-2.c
ordered-3.c
parallel-1.c
pr24455-1.c
pr24455.c
pr26171.c
pr26943-1.c
pr26943-2.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
pr26943-3.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
pr26943-4.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
pr29947-1.c
pr29947-2.c
pr30494.c
pr32362-1.c re PR middle-end/32362 (ICE: in lookup_decl_in_outer_ctx, at omp-low.c:1508) 2007-06-21 14:11:00 +02:00
pr32362-2.c re PR middle-end/32362 (ICE: in lookup_decl_in_outer_ctx, at omp-low.c:1508) 2007-06-21 14:11:00 +02:00
pr32362-3.c re PR middle-end/32362 (ICE: in lookup_decl_in_outer_ctx, at omp-low.c:1508) 2007-06-21 14:11:00 +02:00
pr32468.c re PR libgomp/32468 (number of threads in a parallel region depends on number of SECTIONs and MAX_THREADS) 2007-07-02 21:19:28 +02:00
pr33880.c re PR middle-end/33880 (ICE: in extract_omp_for_data, at omp-low.c:162) 2008-01-25 13:54:42 +01:00
pr34513.c re PR c++/34513 (static variable not found for C++ OpenMP) 2007-12-19 13:58:32 +01:00
pr35130.c re PR middle-end/35130 (OpenMP: Private variable passed to subroutine) 2008-02-15 18:36:43 +01:00
pr35196.c re PR middle-end/35196 (lastprivate broken for static non-ordered loops) 2008-02-15 18:42:25 +01:00
pr35549.c re PR middle-end/35549 (Invalid use of copy-in/out for shared vars in nested parallels) 2008-03-12 10:55:48 +01:00
pr35625.c re PR libgomp/35625 (schedule(guided) loops forever if ((end - start) % incr) != 0) 2008-03-18 10:54:21 +01:00
pr36802-1.c re PR middle-end/36802 (pop_gimplify_context ICE using openmp task construct) 2008-12-08 11:36:01 +01:00
pr36802-2.c re PR middle-end/36802 (pop_gimplify_context ICE using openmp task construct) 2008-12-08 11:36:01 +01:00
pr36802-3.c re PR middle-end/36802 (pop_gimplify_context ICE using openmp task construct) 2008-12-08 11:36:01 +01:00
pr38650.c re PR c++/38650 (Trouble with volatile and #pragma omp for) 2008-12-28 21:06:00 +01:00
pr39154.c re PR middle-end/39154 (Miscompilation of VLAs in nested parallel regions) 2009-02-11 22:57:52 +01:00
pr39591-1.c re PR other/39591 (GOMP_loop_end illegally optmized into GOMP_loop_end_nowait) 2009-04-01 08:54:52 +02:00
pr39591-2.c re PR other/39591 (GOMP_loop_end illegally optmized into GOMP_loop_end_nowait) 2009-04-01 08:54:52 +02:00
pr39591-3.c re PR other/39591 (GOMP_loop_end illegally optmized into GOMP_loop_end_nowait) 2009-04-01 08:54:52 +02:00
private-1.c omp-low.c (lookup_decl_in_outer_ctx): Allow calling this with !ctx->is_nested. 2007-12-04 00:06:55 +01:00
reduction-1.c
reduction-2.c
reduction-3.c
reduction-4.c
reduction-5.c re PR middle-end/36506 (Broken #pragma omp sections reduction (+:x)) 2008-06-12 13:03:50 +02:00
sections-1.c
shared-1.c
shared-2.c
shared-3.c
single-1.c
single-2.c
sort-1.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
task-1.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
task-2.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
task-3.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
task-4.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
vla-1.c