OSDN Git Service

PR other/39591
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Apr 2009 06:54:52 +0000 (06:54 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Apr 2009 06:54:52 +0000 (06:54 +0000)
commit4a04f4b4ef151f7daac789989104d7a55f434f0b
tree21d252b6e42e3b03c7ed6cbdf149f1b4814d94fc
parentb4a3be2d34acf2e06a466689e77639874d3e50b5
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145390 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr39591-1.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/pr39591-2.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/pr39591-3.c [new file with mode: 0644]