From 686a56a85d39750cd5c0c42f2ea747c8632e519e Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Fri, 7 Jun 2019 10:15:00 +0200 Subject: 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 --- gcc/doc/invoke.texi | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'gcc/doc/invoke.texi') diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 50e50e3..3103f86 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -7357,7 +7357,7 @@ Do not warn about compile-time overflow in constant expressions. @opindex Wno-odr @opindex Wodr Warn about One Definition Rule violations during link-time optimization. -Requires @option{-flto-odr-type-merging} to be enabled. Enabled by default. +Enabled by default. @item -Wopenmp-simd @opindex Wopenmp-simd @@ -10353,12 +10353,6 @@ The value @samp{one} specifies that exactly one partition should be used while the value @samp{none} bypasses partitioning and executes the link-time optimization step directly from the WPA phase. -@item -flto-odr-type-merging -@opindex flto-odr-type-merging -Enable streaming of mangled types names of C++ types and their unification -at link time. This increases size of LTO object files, but enables -diagnostics about One Definition Rule violations. - @item -flto-compression-level=@var{n} @opindex flto-compression-level This option specifies the level of compression used for intermediate -- cgit v1.1