projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61ed06c
)
fix thinko in last change
author
Nathan Sidwell
<nathan@gcc.gnu.org>
Fri, 17 Nov 2000 12:36:26 +0000
(12:36 +0000)
committer
Nathan Sidwell
<nathan@gcc.gnu.org>
Fri, 17 Nov 2000 12:36:26 +0000
(12:36 +0000)
From-SVN: r37520
gcc/cp/pt.c
patch
|
blob
|
history
diff --git
a/gcc/cp/pt.c
b/gcc/cp/pt.c
index c281636286f51df78785b97faf6689102c0002c1..3327110f949bd44f0897ae58e73017a62d756d0d 100644
(file)
--- 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