]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ipa-devirt.c
tree.c (free_lang_data_in_type): If BINFO has no important information in it, set...
authorJan Hubicka <hubicka@ucw.cz>
Thu, 20 Nov 2014 06:15:03 +0000 (07:15 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 20 Nov 2014 06:15:03 +0000 (06:15 +0000)
commit1be0e58d3003aa8a780d229bf38b0e4a61928b9e
treeb027bc052b062a295ed4e82de7214afde37561ce
parent1b5695e6100dec3f7c1e86ba5594471987cda466
tree.c (free_lang_data_in_type): If BINFO has no important information in it, set it to NULL.

* tree.c (free_lang_data_in_type): If BINFO has no important
information in it, set it to NULL.
(get_binfo_at_offset): Do not walk fields, only bases.
* ipa-utils.h (polymorphic_type_binfo_p): Be ready for BINFO_TYPE
to be NULL.
* ipa-polymorphic-call.c (record_known_type): Likewise.

From-SVN: r217824
gcc/ChangeLog
gcc/ipa-devirt.c
gcc/ipa-polymorphic-call.c
gcc/ipa-utils.h
gcc/tree.c