This is the mail archive of the gcc-patches@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]

Re: C++ PATCH for c++/51930 (instantiation hidden despite visibility attribute)


While looking at the class variant of this issue, I noticed that some of the code in determine_visibility was wrong; template_class_depth only considers unbound template parameters, and the number we want is the total number of levels. I've also adjusted the diagnostic for misplaced class attributes as manu requested.

Tested x86_64-pc-linux-pc, applying to trunk.


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