From 8b25cab97621c36452d09590dd3c422c83b4e19f Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Fri, 17 Nov 2000 12:36:26 +0000 Subject: [PATCH] fix thinko in last change From-SVN: r37520 --- gcc/cp/pt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index c281636286f..3327110f949 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -7152,7 +7152,7 @@ tsubst_expr (t, args, complain, in_decl) { if (TREE_CODE (decl) != TYPE_DECL) /* Make sure the type is instantiated now. */ - complete_type (type); + complete_type (TREE_TYPE (decl)); if (init) DECL_INITIAL (decl) = error_mark_node; /* By marking the declaration as instantiated, we avoid -- 2.30.2