* tree.c (free_lang_data_in_type): If BINFO has no important
commit7ef91cea646c4ff988abf9f9757854b634fdcc60
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Nov 2014 06:15:03 +0000 (20 06:15 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Nov 2014 06:15:03 +0000 (20 06:15 +0000)
treeb027bc052b062a295ed4e82de7214afde37561ce
parentc8a9f04cede6b53babac327d35d592b101c7896e
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217824 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-devirt.c
gcc/ipa-polymorphic-call.c
gcc/ipa-utils.h
gcc/tree.c