http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52547
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-03 18:16:22 UTC --- Author: jakub Date: Wed Apr 3 17:52:33 2013 New Revision: 197441 URL: http://gcc.gnu.org/viewcvs?rev=197441&root=gcc&view=rev Log: Backported from mainline 2012-03-22 Jakub Jelinek <ja...@redhat.com> 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. Added: branches/gcc-4_6-branch/libgomp/testsuite/libgomp.c/pr52547.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/tree-nested.c branches/gcc-4_6-branch/libgomp/ChangeLog