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);