------- Comment #2 from jakub at gcc dot gnu dot org 2009-04-01 07:06 ------- Subject: Bug 39591
Author: jakub Date: Wed Apr 1 07:06:12 2009 New Revision: 145391 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145391 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: branches/gcc-4_4-branch/libgomp/testsuite/libgomp.c/pr39591-1.c - copied unchanged from r145390, trunk/libgomp/testsuite/libgomp.c/pr39591-1.c branches/gcc-4_4-branch/libgomp/testsuite/libgomp.c/pr39591-2.c - copied unchanged from r145390, trunk/libgomp/testsuite/libgomp.c/pr39591-2.c branches/gcc-4_4-branch/libgomp/testsuite/libgomp.c/pr39591-3.c - copied unchanged from r145390, trunk/libgomp/testsuite/libgomp.c/pr39591-3.c Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/omp-low.c branches/gcc-4_4-branch/libgomp/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39591