From c1b8f25d8090e778b330555005c81bc0c582a6b8 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 10 Apr 2018 08:33:38 +0200 Subject: re PR lto/85078 (LTO ICE: tree check: expected tree that contains 'decl minimal' structure, have 'identifier_node' in decl_mangling_context, at cp/mangle.c:878) PR lto/85078 * ipa-devirt.c (rebuild_type_inheritance-hash): New. * ipa-utils.h (rebuild_type_inheritance-hash): Declare. * tree.c (free_lang_data_in_type): Fix handling of binfos; walk basetypes. (free_lang_data): Rebuild type inheritance graph. * g++.dg/torture/pr85078.C: New. From-SVN: r259264 --- gcc/ipa-utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/ipa-utils.h') diff --git a/gcc/ipa-utils.h b/gcc/ipa-utils.h index 6176189..1609ac1 100644 --- a/gcc/ipa-utils.h +++ b/gcc/ipa-utils.h @@ -55,6 +55,7 @@ bool ipa_propagate_frequency (struct cgraph_node *node); struct odr_type_d; typedef odr_type_d *odr_type; void build_type_inheritance_graph (void); +void rebuild_type_inheritance_graph (void); void update_type_inheritance_graph (void); vec possible_polymorphic_call_targets (tree, HOST_WIDE_INT, -- cgit v1.1