* ipa-devirt.c (type_pair, default_hashset_traits): New types.
commit12b2c414a900e6a568ca25f156ca760e17b9f79d
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Sep 2014 16:15:29 +0000 (17 16:15 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Sep 2014 16:15:29 +0000 (17 16:15 +0000)
tree4ef870f270b0fc78fbedf82b5fec71cfca85bca4
parent6030be7251548de58f9a140d956960e9b520f8f3
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215328 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-devirt.c