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
- gcc/ChangeLog 7 additions, 0 deletionsgcc/ChangeLog
- gcc/omp-low.c 48 additions, 3 deletionsgcc/omp-low.c
- libgomp/ChangeLog 7 additions, 0 deletionslibgomp/ChangeLog
- libgomp/testsuite/libgomp.c/pr39591-1.c 33 additions, 0 deletionslibgomp/testsuite/libgomp.c/pr39591-1.c
- libgomp/testsuite/libgomp.c/pr39591-2.c 39 additions, 0 deletionslibgomp/testsuite/libgomp.c/pr39591-2.c
- libgomp/testsuite/libgomp.c/pr39591-3.c 40 additions, 0 deletionslibgomp/testsuite/libgomp.c/pr39591-3.c
Loading
Please register or sign in to comment