This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/39591] GOMP_loop_end illegally optmized into GOMP_loop_end_nowait
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Apr 2009 07:06:33 -0000
- Subject: [Bug other/39591] GOMP_loop_end illegally optmized into GOMP_loop_end_nowait
- References: <bug-39591-13934@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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