From 0864e3fcb6ffbb47de637600fa5f632aa1700ed3 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 21 Feb 2019 08:03:40 +0000 Subject: [PATCH] re PR c++/89392 (ICE in bitmap_bit_p, at bitmap.c:978) 2019-02-21 Richard Biener PR middle-end/89392 cp/ * vtable-class-hierarchy.c (vtv_generate_init_routine): Do not make symtab process new functions here. From-SVN: r269065 --- gcc/cp/ChangeLog | 6 ++++++ gcc/cp/vtable-class-hierarchy.c | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 63b07648776..3009b58a3b4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2019-02-21 Richard Biener + + PR middle-end/89392 + * vtable-class-hierarchy.c (vtv_generate_init_routine): Do not + make symtab process new functions here. + 2019-02-20 Jason Merrill PR c++/87921 - wrong error with inline static data member. diff --git a/gcc/cp/vtable-class-hierarchy.c b/gcc/cp/vtable-class-hierarchy.c index f8173da0b0c..2e905f6b3cc 100644 --- a/gcc/cp/vtable-class-hierarchy.c +++ b/gcc/cp/vtable-class-hierarchy.c @@ -1191,8 +1191,6 @@ vtv_generate_init_routine (void) gimplify_function_tree (vtv_fndecl); cgraph_node::add_new_function (vtv_fndecl, false); - symtab->process_new_functions (); - if (flag_vtable_verify == VTV_PREINIT_PRIORITY && !TARGET_PECOFF) assemble_vtv_preinit_initializer (vtv_fndecl); -- 2.30.2