From: Jason Merrill Date: Tue, 3 Mar 1998 01:44:37 +0000 (-0500) Subject: oops X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54e97afb94eb344252fda9f7a1322edde7c2112a;p=gcc.git oops From-SVN: r18378 --- diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 22062e9c2ea..da2f4190526 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -5182,7 +5182,7 @@ instantiate_type (lhstype, rhs, complain) save_elem = instantiate_template (elem, t); /* Check the return type. */ if (! comptypes (TREE_TYPE (lhstype), - TREE_TYPE (TREE_TYPE (t)), 1)) + TREE_TYPE (TREE_TYPE (save_elem)), 1)) save_elem = 0; } }