Commit 6fb2c05a by Jason Merrill Committed by Jason Merrill

* pt.c (tsubst, case ARRAY_REF): Use tsubst_expr again.

From-SVN: r25601
parent 9a5bb317
1999-03-05 Jason Merrill <jason@yorick.cygnus.com>
* pt.c (tsubst, case ARRAY_REF): Use tsubst_expr again.
1999-03-03 Jason Merrill <jason@yorick.cygnus.com> 1999-03-03 Jason Merrill <jason@yorick.cygnus.com>
* class.c, decl2.c, method.c, pt.c: Add 'static' to make SunOS 4 * class.c, decl2.c, method.c, pt.c: Add 'static' to make SunOS 4
......
...@@ -6439,8 +6439,8 @@ tsubst (t, args, complain, in_decl) ...@@ -6439,8 +6439,8 @@ tsubst (t, args, complain, in_decl)
{ {
tree e1 = tsubst (TREE_OPERAND (t, 0), args, complain, tree e1 = tsubst (TREE_OPERAND (t, 0), args, complain,
in_decl); in_decl);
tree e2 = tsubst (TREE_OPERAND (t, 1), args, complain, tree e2 = tsubst_expr (TREE_OPERAND (t, 1), args, complain,
in_decl); in_decl);
if (e1 == error_mark_node || e2 == error_mark_node) if (e1 == error_mark_node || e2 == error_mark_node)
return error_mark_node; return error_mark_node;
......
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