diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2019-06-07 10:15:00 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-06-07 08:15:00 +0000 |
commit | 686a56a85d39750cd5c0c42f2ea747c8632e519e (patch) | |
tree | cc3b9894ef2bc23014230964b6d23de0f912bba7 /gcc/tree.c | |
parent | 06dd9b3d4e86b2c12ba55144147272ac05eeed40 (diff) | |
download | gcc-686a56a85d39750cd5c0c42f2ea747c8632e519e.zip gcc-686a56a85d39750cd5c0c42f2ea747c8632e519e.tar.gz gcc-686a56a85d39750cd5c0c42f2ea747c8632e519e.tar.bz2 |
common.opt (flto-odr-type-merging): Ignore.
* common.opt (flto-odr-type-merging): Ignore.
* invoke.texi (-flto-odr-type-merging): Remove.
* ipa-devirt.c (odr_vtable_hasher:odr_name_hasher): Remove.
(can_be_vtable_hashed_p): Remove.
(hash_odr_vtable): Remove.
(odr_vtable_hasher::hash): Remove.
(types_same_for_odr): Remove.
(types_odr_comparable): Remove.
(odr_vtable_hasher::equal): Remove.
(odr_vtable_hash_type, odr_vtable_hash): Remove.
(add_type_duplicate): Do not synchronize vtable and name hashtables.
(get_odr_type): Do not use vtable hash.
(dump_odr_type): Remove commented out code.
(build_type_inheritance_graph): Do not allocate vtable hash.
(rebuild_type_inheritance_graph): Do not delete vtable hash.
* ipa-utils.h (type_with_linkage_p): Drop vtable hash path.
(odr_type_p): Likewise.
* tree.c (need_assembler_name_p): Remove flag_lto_odr_type_mering
test.
From-SVN: r272037
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -5590,8 +5590,7 @@ need_assembler_name_p (tree decl) if (TREE_CODE (decl) == TYPE_DECL) { - if (flag_lto_odr_type_mering - && DECL_NAME (decl) + if (DECL_NAME (decl) && decl == TYPE_NAME (TREE_TYPE (decl)) && TYPE_MAIN_VARIANT (TREE_TYPE (decl)) == TREE_TYPE (decl) && !TYPE_ARTIFICIAL (TREE_TYPE (decl)) |