http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48716
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-22 14:11:46 UTC --- Author: jakub Date: Fri Apr 22 14:11:44 2011 New Revision: 172860 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172860 Log: PR c/48716 * gimplify.c (gimplify_bind_expr): Mark as GOVD_LOCAL also TREE_STATIC variables declared inside of some OpenMP construct. * gcc.dg/gomp/pr48716.c: New test. * g++.dg/gomp/pr48716.C: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/gomp/pr48716.C branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/gomp/pr48716.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/gimplify.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog