http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51339
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-08 13:37:48 UTC --- Author: jakub Date: Thu Dec 8 13:37:44 2011 New Revision: 182113 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182113 Log: Backport from mainline 2011-12-05 Jakub Jelinek <ja...@redhat.com> PR c/51339 * c-decl.c (c_finish_incomplete_decl, finish_decl): Call relayout_decl instead of layout_decl. * gcc.dg/gomp/pr51339.c: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/gomp/pr51339.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/c-decl.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog