ipa-devirt.c (main_odr_variant): Remove.
authorJan Hubicka <jh@suse.cz>
Thu, 25 Oct 2018 14:33:27 +0000 (16:33 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 25 Oct 2018 14:33:27 +0000 (14:33 +0000)
commit1afca3f426b11bc4f6363824890395718c2a312f
tree22c8eee72875106f13d963ae5d46e4d20510f556
parent303d8f779266535269e443f2fa65a3170a742ff4
ipa-devirt.c (main_odr_variant): Remove.

* ipa-devirt.c (main_odr_variant): Remove.
(hash_odr_name, types_same_for_odr, types_odr_comparable,
odr_name_hasher::equal, odr_subtypes_equivalent_p):
Drop use of main_odr_variant.
(add_type_duplicate): Silence confused warnings on integer types.
(get_odr_type): Always look for main variant.
(register_odr_type): Simplify.

From-SVN: r265492
gcc/ChangeLog
gcc/ipa-devirt.c