ipa-devirt.c (odr_subtypes_equivalent_p): Compare TYPE_NAME only for aggregate types.
authorJan Hubicka <hubicka@ucw.cz>
Thu, 30 Apr 2015 04:43:32 +0000 (06:43 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 30 Apr 2015 04:43:32 +0000 (04:43 +0000)
commit32496fdde11abfeda4bd911c489fdda5f3e141e6
treeb983c60b589ae306425cb0067163d88f62953c25
parent00c1cf38e148cdbd57d350e240684181dac01091
ipa-devirt.c (odr_subtypes_equivalent_p): Compare TYPE_NAME only for aggregate types.

* ipa-devirt.c (odr_subtypes_equivalent_p): Compare TYPE_NAME only
for aggregate types.
(register_odr_type): Be ready for MAIN_VARIANT of ODR type
type to be non_ODR.
* tree.c (need_assembler_name_p): Compute mangled name for
non-fundamental types and integer types.

From-SVN: r222609
gcc/ChangeLog
gcc/ipa-devirt.c
gcc/tree.c