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] |
On Mon, Mar 29, 2010 at 01:16:04PM -0400, Jason Merrill wrote:
Let's just store a pointer to the list of parms that a particular TEMPLATE_TYPE_PARM belongs to in type.maxval. Basically like your last patch that I objected to, but putting the list somewhere other than DECL_CONTEXT.
I fail to see how will this help us to get the right template parms of the context of the typedef TT. If we do this, I think the TEMPLATE_TYPE_PARM T in f#2 will have only T in its type.maxval
whereas the template parms of the context of TT in tmpl#2 will be {T, EngineTag}.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |