This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51930] [4.7 regression] Explicitly instantiated template gets hidden visibility


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]