From: Nathan Sidwell Date: Thu, 17 Aug 2000 13:26:14 +0000 (+0000) Subject: class.c (instantiate_type): Reinstate local variable deleted in previous change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=105d8e1f6eb32ba2199548f2f6b0a01d92bd3201;p=gcc.git 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 --- 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)