Commit 120ecb8a by Mark Mitchell Committed by Mark Mitchell

* pt.c (tsubst): Use build_index_type, not build_index_2_type.

From-SVN: r23516
parent ab2e3386
1998-11-03 Mark Mitchell <mark@markmitchell.com>
* pt.c (tsubst): Use build_index_type, not build_index_2_type.
1998-11-02 Jason Merrill <jason@yorick.cygnus.com>
* class.c (instantiate_type): Be more helpful.
......
......@@ -5542,7 +5542,7 @@ tsubst (t, args, in_decl)
}
max = fold (build_binary_op (MINUS_EXPR, max, integer_one_node, 1));
return build_index_2_type (size_zero_node, max);
return build_index_type (max);
}
case TEMPLATE_TYPE_PARM:
......
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