http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52973
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2012-06-02 04:05:34 UTC --- Author: jason Date: Sat Jun 2 04:05:25 2012 New Revision: 188138 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188138 Log: PR c++/52973 * parser.c (cp_parser_class_head): Apply attributes here. * semantics.c (begin_class_definition): Not here. * cp-tree.h: Adjust. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/ext/visibility/template12.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/cp-tree.h branches/gcc-4_7-branch/gcc/cp/parser.c branches/gcc-4_7-branch/gcc/cp/semantics.c branches/gcc-4_7-branch/gcc/objcp/objcp-decl.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/gcc/testsuite/g++.dg/ext/attrib14.C