OSDN Git Service

PR middle-end/52547
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2012 19:27:52 +0000 (19:27 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2012 19:27:52 +0000 (19:27 +0000)
commitec410e135e055ac2549bde1b6e41a3198ac6ef15
treefddfedf7bccfca759b3802983592167205e5c2e5
parentae9e5edb6e04667f22f954bb34546f575f41c2dc
PR middle-end/52547
* tree-nested.c (convert_tramp_reference_stmt): Call declare_vars
on any new_local_var_chain vars declared during recursing on
GIMPLE_OMP_PARALLEL or GIMPLE_OMP_TASK body.

* testsuite/libgomp.c/pr52547.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185708 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-nested.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr52547.c [new file with mode: 0644]