------- Comment #1 from jakub at gcc dot gnu dot org 2009-04-01 06:55 ------- Subject: Bug 39591
Author: jakub Date: Wed Apr 1 06:54:52 2009 New Revision: 145390 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145390 Log: 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. Added: trunk/libgomp/testsuite/libgomp.c/pr39591-1.c trunk/libgomp/testsuite/libgomp.c/pr39591-2.c trunk/libgomp/testsuite/libgomp.c/pr39591-3.c Modified: trunk/gcc/ChangeLog trunk/gcc/omp-low.c trunk/libgomp/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39591