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: [Patch] PR c++/32519


Fabien Chêne wrote:
This patch fixes PR32519. The problem was the use of the macro
DECL_NONSTATIC_MEMBER_P in protected_accessible_p(). this macro does
not return true when TREE_CODE (decl) == TEMPLATE_DECL.

Sorry about the slow response.


Would changing DECL_NONSTATIC_MEMBER_P to return true for member function templates fix the problem?

Jason


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