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
Showing
libgomp/testsuite/libgomp.c/pr39591-1.c
0 → 100644
libgomp/testsuite/libgomp.c/pr39591-2.c
0 → 100644
libgomp/testsuite/libgomp.c/pr39591-3.c
0 → 100644
Please
register
or
sign in
to comment