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 #21 from Jason Merrill <jason at gcc dot gnu.org> 2012-03-05 18:09:08 UTC ---
Author: jason
Date: Mon Mar  5 18:08:56 2012
New Revision: 184946

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184946
Log:
    PR c++/51930
    * decl2.c (determine_visibility): Correct calculation of class
    args depth.
    * decl.c (check_tag_decl): Adjust warning.

Added:
    trunk/gcc/testsuite/g++.dg/ext/visibility/template11.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/decl2.c
    trunk/gcc/testsuite/ChangeLog


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