From fbfc8363a378a676d5ab71fc44edf0b8f681ffa0 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 13 May 2010 01:04:14 -0400 Subject: cp-tree.h (UNKNOWN_TYPE): Remove. * cp-tree.h (UNKNOWN_TYPE): Remove. * decl.c (cxx_init_decl_processing): Use LANG_TYPE instead. * error.c (dumy_type, dump_type_prefix, dump_type_suffix): Likewise. * typeck2.c (cxx_incomplete_type_diagnostic): Likewise. * class.c (instantiate_type): Check unknown_type_node rather than UNKNOWN_TYPE. * name-lookup.c (maybe_push_decl): Likewise. * rtti.c (get_tinfo_decl_dynamic): Likewise. (get_typeid): Likewise. * semantics.c (finish_offsetof): Likewise. From-SVN: r159349 --- gcc/cp/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gcc/cp/ChangeLog') diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5f0569a..a1b0550 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,16 @@ 2010-05-12 Jason Merrill + * cp-tree.h (UNKNOWN_TYPE): Remove. + * decl.c (cxx_init_decl_processing): Use LANG_TYPE instead. + * error.c (dumy_type, dump_type_prefix, dump_type_suffix): Likewise. + * typeck2.c (cxx_incomplete_type_diagnostic): Likewise. + * class.c (instantiate_type): Check unknown_type_node rather than + UNKNOWN_TYPE. + * name-lookup.c (maybe_push_decl): Likewise. + * rtti.c (get_tinfo_decl_dynamic): Likewise. + (get_typeid): Likewise. + * semantics.c (finish_offsetof): Likewise. + PR c++/20669 * call.c (add_template_candidate_real): If deduction fails, still add the template as a non-viable candidate. -- cgit v1.1