From: Richard Biener Date: Thu, 21 Feb 2019 08:03:40 +0000 (+0000) Subject: re PR c++/89392 (ICE in bitmap_bit_p, at bitmap.c:978) X-Git-Tag: basepoints/gcc-10~1035 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0864e3fcb6ffbb47de637600fa5f632aa1700ed3;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 63b076487767..3009b58a3b46 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 f8173da0b0cb..2e905f6b3cc1 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);