tree.c (need_assembler_name_p): Artificial types have no ODR names.
authorJan Hubicka <hubicka@ucw.cz>
Tue, 31 Mar 2015 17:03:16 +0000 (19:03 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 31 Mar 2015 17:03:16 +0000 (17:03 +0000)
commit36ceb0e3ccbac8324601234546210239d334bb0a
treee83e1c3818fcf99d82f667f00483358bf46c0078
parent12cc8c723ed0dccdbb6b2b590706b1344d468c55
tree.c (need_assembler_name_p): Artificial types have no ODR names.

* tree.c (need_assembler_name_p): Artificial types have no ODR
names.
* ipa-devirt.c (warn_odr): Do not try to apply ODR cache when
no caching is done.
* lto.c (lto_read_decls): Move code registering odr types out
of TYPE_CANONICAL conditional and also register polymorphic types.

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