Commit bbc06b4b by Jason Merrill Committed by Jason Merrill

* pt.c (for_each_template_parm): Use first_rtl_op.

From-SVN: r20171
parent 994d3884
1998-06-01 Jason Merrill <jason@yorick.cygnus.com>
* pt.c (for_each_template_parm): Use first_rtl_op.
* tree.c (build_cplus_array_type_1): Also check index_type for
template parms.
......
......@@ -3316,7 +3316,7 @@ for_each_template_parm (t, fn, data)
case '<':
{
int i;
for (i = tree_code_length[(int) TREE_CODE (t)]; --i >= 0;)
for (i = first_rtl_op (TREE_CODE (t)); --i >= 0;)
if (for_each_template_parm (TREE_OPERAND (t, i), fn, data))
return 1;
return 0;
......
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