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 #3 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-23 20:48:35 UTC ---
Author: jason
Date: Mon Jan 23 20:48:31 2012
New Revision: 183455

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183455
Log:
    PR c++/51930
    * decl2.c (determine_visibility): Check for visibility attribute
    on template specialization.

Added:
    trunk/gcc/testsuite/g++.dg/ext/visibility/template10.C
Modified:
    trunk/gcc/cp/ChangeLog
    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]