]> git.ipfire.org Git - thirdparty/gcc.git/commit
* ipa-devirt.c (odr_types_equivalent_p): Expect constants
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Nov 2018 14:12:20 +0000 (14:12 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Nov 2018 14:12:20 +0000 (14:12 +0000)
commit799610660d689444f8f859a4534e15ae9f269f02
tree675a9609516280881e63e2682b1801765bd6fe6d
parent529ebc2a706c4223dc8068a32a195b6c400d1f2d
* ipa-devirt.c (odr_types_equivalent_p): Expect constants
than const decls in TREE_VALUE of enum.
(dump_type_inheritance_graph): Improve duplicate dumping.
(free_enum_values): New.
(build_type_inheritance_graph): Use it.
* tree.c (free_lang_data_in_type): Free TYPE_VALUES of enums
which are not main variants or not ODR types.
(verify_type_variant): Expect variants to have no TYPE_VALUES.

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