From 41f5d4b195481b8a36adbff6376921f1ef14f02c Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Sat, 29 Dec 2001 17:24:59 +0000 Subject: call.c (build_user_type_conversion_1): Use my_friendly_assert rather than if ... cp: * call.c (build_user_type_conversion_1): Use my_friendly_assert rather than if ... abort. * cvt.c (convert_to_reference): Likewise. * semantics.c (setup_vtbl_ptr): Likewise. * pt.c (lookup_template_class): Comment typo. From-SVN: r48371 --- gcc/cp/semantics.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gcc/cp/semantics.c') diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 90120ce..b04a13a 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -1157,10 +1157,7 @@ setup_vtbl_ptr (member_init_list, base_init_list) tree base_init_list; { my_friendly_assert (doing_semantic_analysis_p (), 19990919); - - /* If we've already done this, break. */ - if (vtbls_set_up_p) - abort (); + my_friendly_assert (!vtbls_set_up_p, 20011220); if (processing_template_decl) add_stmt (build_min_nt (CTOR_INITIALIZER, -- cgit v1.1