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: [RFC] PR c++/43206


On 03/04/2010 03:47 PM, Dodji Seketeli wrote:
So I temporarily set the DECL_CONTEXT of the TYPE_NAME of each template
type parm to the list of parms it belongs to in end_template_parm_list.
That removes problem B/.

I'm uncomfortable setting DECL_CONTEXT to an invalid value, even temporarily. Can we just assume in get_template_parms_of_dependent_type that the parm is part of current_template_parms if it doesn't have DECL_CONTEXT set?


Jason


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