From 105d8e1f6eb32ba2199548f2f6b0a01d92bd3201 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Thu, 17 Aug 2000 13:26:14 +0000 Subject: [PATCH] class.c (instantiate_type): Reinstate local variable deleted in previous change. * class.c (instantiate_type): Reinstate local variable deleted in previous change. From-SVN: r35758 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/class.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a3ad3fa0950..98db77a55a2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2000-08-17 Nathan Sidwell + + * class.c (instantiate_type): Reinstate local variable + deleted in previous change. + 2000-08-17 Nathan Sidwell * cp-tree.h (instantiate_type_flags): New enumeration. diff --git a/gcc/cp/class.c b/gcc/cp/class.c index f9c27ab3c27..08099c116b1 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -5993,7 +5993,8 @@ instantiate_type (lhstype, rhs, flags) int complain = (flags & itf_complain); int strict = (flags & itf_no_attributes) ? COMPARE_NO_ATTRIBUTES : COMPARE_STRICT; - + tree r; + if (TREE_CODE (lhstype) == UNKNOWN_TYPE) { if (complain) -- 2.30.2