http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47963
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-07 18:27:24 UTC --- Author: jakub Date: Thu Apr 7 18:27:20 2011 New Revision: 172115 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172115 Log: Backported from mainline 2011-03-03 Jakub Jelinek <ja...@redhat.com> PR c/47963 * gimplify.c (omp_add_variable): Only call omp_notice_variable on TYPE_SIZE_UNIT if it is a DECL. * gcc.dg/gomp/pr47963.c: New test. * g++.dg/gomp/pr47963.C: New test. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/gomp/pr47963.C branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/gomp/pr47963.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/gimplify.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog