From 98134cade80cec3106fd9bc6aefd78b81002a1e5 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 7 May 1998 02:18:59 +0000 Subject: [PATCH] * pt.c (tsubst): Don't tsubst the type of an IDENTIFIER_NODE. From-SVN: r19608 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/pt.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ea395efa322..665b0586624 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +Wed May 6 19:27:09 1998 Jason Merrill + + * pt.c (tsubst): Don't tsubst the type of an IDENTIFIER_NODE. + Wed May 6 16:49:48 1998 Jim Wilson * Makefile.in (call.o, class.o, decl.o, decl2.o, errfn.o, error.o, diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 20602bb0845..209e23e22c3 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -3860,7 +3860,8 @@ tsubst (t, args, in_decl) my_friendly_abort (42); if (type && TREE_CODE (t) != FUNCTION_DECL && TREE_CODE (t) != TYPENAME_TYPE - && TREE_CODE (t) != TEMPLATE_DECL) + && TREE_CODE (t) != TEMPLATE_DECL + && TREE_CODE (t) != IDENTIFIER_NODE) type = tsubst (type, args, in_decl); switch (TREE_CODE (t)) -- 2.30.2