Commit 3338663b by Nathan Sidwell Committed by Nathan Sidwell

decl2.c (arg_assoc): Deal with COMPONENT_REFs inside TEMPLATE_ID_EXPRs.

	* decl2.c (arg_assoc): Deal with COMPONENT_REFs inside
	TEMPLATE_ID_EXPRs.

From-SVN: r36132
parent 25ffb1f6
2000-09-04 Nathan Sidwell <nathan@codesourcery.com>
* decl2.c (arg_assoc): Deal with COMPONENT_REFs inside
TEMPLATE_ID_EXPRs.
2000-09-03 Mark Mitchell <mark@codesourcery.com> 2000-09-03 Mark Mitchell <mark@codesourcery.com>
* operators.def (ALIGNOF_EXPR, MAX_EXPR, MIN_EXPR): Change * operators.def (ALIGNOF_EXPR, MAX_EXPR, MIN_EXPR): Change
......
...@@ -5042,6 +5042,9 @@ arg_assoc (k, n) ...@@ -5042,6 +5042,9 @@ arg_assoc (k, n)
tree ctx; tree ctx;
tree arg; tree arg;
if (TREE_CODE (template) == COMPONENT_REF)
template = TREE_OPERAND (template, 1);
/* First, the template. There may actually be more than one if /* First, the template. There may actually be more than one if
this is an overloaded function template. But, in that case, this is an overloaded function template. But, in that case,
we only need the first; all the functions will be in the same we only need the first; all the functions will be in the same
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment