diff options
author | Nathan Sidwell <nathan@gcc.gnu.org> | 2000-11-17 12:36:26 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2000-11-17 12:36:26 +0000 |
commit | 8b25cab97621c36452d09590dd3c422c83b4e19f (patch) | |
tree | d279dca9ecd2dc6b2d3bf8190fde875ddd4a7501 | |
parent | 61ed06c3f3233702c6b32006a53753eb119ae6c2 (diff) | |
download | gcc-8b25cab97621c36452d09590dd3c422c83b4e19f.zip gcc-8b25cab97621c36452d09590dd3c422c83b4e19f.tar.gz gcc-8b25cab97621c36452d09590dd3c422c83b4e19f.tar.bz2 |
fix thinko in last change
From-SVN: r37520
-rw-r--r-- | gcc/cp/pt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index c281636..3327110 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 |