ipa-devirt.c (type_pair, [...]): New types.
authorJan Hubicka <hubicka@ucw.cz>
Wed, 17 Sep 2014 16:15:29 +0000 (18:15 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 17 Sep 2014 16:15:29 +0000 (16:15 +0000)
commit2c132d34c00cd0783204d45763f37507c6916c37
tree4ef870f270b0fc78fbedf82b5fec71cfca85bca4
parent366d28eedfd27b69992f6cd3e522a3d0d6870fcb
ipa-devirt.c (type_pair, [...]): New types.

* ipa-devirt.c (type_pair, default_hashset_traits): New types.
(odr_types_equivalent_p): Use pair hash.
(odr_subtypes_equivalent_p): Likewise, do structural compare
on ODR types that may be mismatched.
(warn_odr): Support warning when only one field is given.
(odr_types_equivalent_p): Strenghten comparsions made;
support VOIDtype.
(add_type_duplicate): Update VISITED hash set.

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