aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/semantics.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2001-12-29 17:24:59 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2001-12-29 17:24:59 +0000
commit41f5d4b195481b8a36adbff6376921f1ef14f02c (patch)
tree19eb5b6cc76462267091b0eee5b279613bc866d5 /gcc/cp/semantics.c
parentf3368a9098c3aa67ef422208978bf8df6353bc5a (diff)
downloadgcc-41f5d4b195481b8a36adbff6376921f1ef14f02c.zip
gcc-41f5d4b195481b8a36adbff6376921f1ef14f02c.tar.gz
gcc-41f5d4b195481b8a36adbff6376921f1ef14f02c.tar.bz2
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
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r--gcc/cp/semantics.c5
1 files changed, 1 insertions, 4 deletions
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,