From: Nathan Sidwell Date: Thu, 17 Aug 2000 14:09:21 +0000 (+0000) Subject: cvt.c (cp_convert_to_pointer): Pass itf_complain, not itf_no_attributes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1819d9a3dac73292ed482a98a28311fce84c4f9;p=gcc.git cvt.c (cp_convert_to_pointer): Pass itf_complain, not itf_no_attributes. * cvt.c (cp_convert_to_pointer): Pass itf_complain, not itf_no_attributes. From-SVN: r35759 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 98db77a55a2..ef5b4cb255e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -2,6 +2,9 @@ * class.c (instantiate_type): Reinstate local variable deleted in previous change. + + * cvt.c (cp_convert_to_pointer): Pass itf_complain, not + itf_no_attributes. 2000-08-17 Nathan Sidwell diff --git a/gcc/cp/cvt.c b/gcc/cp/cvt.c index 77e7ae81ed1..606f854269e 100644 --- a/gcc/cp/cvt.c +++ b/gcc/cp/cvt.c @@ -267,7 +267,7 @@ cp_convert_to_pointer (type, expr) } if (type_unknown_p (expr)) - return instantiate_type (type, expr, itf_no_attributes); + return instantiate_type (type, expr, itf_complain); cp_error ("cannot convert `%E' from type `%T' to type `%T'", expr, intype, type);