This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51930] [4.7 regression] Explicitly instantiated template gets hidden visibility
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 01 Mar 2012 17:52:18 +0000
- Subject: [Bug c++/51930] [4.7 regression] Explicitly instantiated template gets hidden visibility
- Auto-submitted: auto-generated
- References: <bug-51930-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51930
--- Comment #18 from Jason Merrill <jason at gcc dot gnu.org> 2012-03-01 17:52:18 UTC ---
Author: jason
Date: Thu Mar 1 17:52:12 2012
New Revision: 184753
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184753
Log:
PR c++/51930
* decl.c (check_tag_decl): Move warning for misplaced attributes here.
(shadow_tag): From here.
* parser.c (cp_parser_explicit_instantiation): Don't warn here.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/g++.dg/ext/attrib43.C