]> git.ipfire.org Git - thirdparty/gcc.git/commit
use proper DECL_INITIAL for VTV
authorMartin Liska <mliska@suse.cz>
Thu, 13 Oct 2022 13:39:08 +0000 (15:39 +0200)
committerMartin Liska <mliska@suse.cz>
Thu, 13 Oct 2022 15:47:15 +0000 (17:47 +0200)
commitfc748d47e95dd612f4a0ef408851df0293173fd8
treed26131c1c96777b09c9c0e7e53dea8c103e56c95
parent6cc3394507a2303a18891d34222c53f679256c37
use proper DECL_INITIAL for VTV

gcc/cp/ChangeLog:

* vtable-class-hierarchy.cc (vtv_generate_init_routine): Emit
an artificial variable that would be put into .preinit_array
section.

gcc/ChangeLog:

* output.h (assemble_vtv_preinit_initializer): Remove.
* varasm.cc (assemble_vtv_preinit_initializer): Remove.
gcc/cp/vtable-class-hierarchy.cc
gcc/output.h
gcc/varasm.cc