re PR c++/89392 (ICE in bitmap_bit_p, at bitmap.c:978)
authorRichard Biener <rguenther@suse.de>
Thu, 21 Feb 2019 08:03:40 +0000 (08:03 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 21 Feb 2019 08:03:40 +0000 (08:03 +0000)
2019-02-21  Richard Biener  <rguenther@suse.de>

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
gcc/cp/vtable-class-hierarchy.c

index 63b07648776723dfdf6688577cc3be03a371d600..3009b58a3b468b3b000d6fefd81a79e2e3a69191 100644 (file)
@@ -1,3 +1,9 @@
+2019-02-21  Richard Biener  <rguenther@suse.de>
+
+       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  <jason@redhat.com>
 
        PR c++/87921 - wrong error with inline static data member.
index f8173da0b0cb0cda3ca844301460f5858cbbba52..2e905f6b3cc195e5c4d221f4e22d63b31f76b9ab 100644 (file)
@@ -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);