Commit e4b7bb8b authored by nathan's avatar nathan
Browse files

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

	TEMPLATE_ID_EXPRs.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36132 138bc75d-0d04-0410-961f-82ee72b054a4
parent 0032d72b
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>
* operators.def (ALIGNOF_EXPR, MAX_EXPR, MIN_EXPR): Change
......
......@@ -5042,6 +5042,9 @@ arg_assoc (k, n)
tree ctx;
tree arg;
if (TREE_CODE (template) == COMPONENT_REF)
template = TREE_OPERAND (template, 1);
/* First, the template. There may actually be more than one if
this is an overloaded function template. But, in that case,
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