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 10/27/2011 08:22 PM, Paolo Carlini wrote:I see. Something I didn't tell you yesterday, is that, in 4_5-branch, tsubst_template_arg is called like this, by coerce_template_parms:I'm trying to figure out where the very different args argument is coming from.
Earlier than that things are different: in mainline the same args, as arglist, comes from fixup_template_parm, and earlier we have fixup_template_parms which creates the arglist itself
Right, this is new. I guess the COMPONENT_REF code needs to be fixed to handle partial instantiation.
/* There must be a default arg in this case. */ arg = tsubst_template_arg (TREE_PURPOSE (parm), new_args, complain, in_decl);
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |