aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-utils.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2018-04-10 08:33:38 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2018-04-10 06:33:38 +0000
commitc1b8f25d8090e778b330555005c81bc0c582a6b8 (patch)
tree7820fbe8f54a1910d5b3f0a145e1fea2b418a3e4 /gcc/ipa-utils.h
parentf518da46fbbdd79ab13417440198110dc9fc96d3 (diff)
downloadgcc-c1b8f25d8090e778b330555005c81bc0c582a6b8.zip
gcc-c1b8f25d8090e778b330555005c81bc0c582a6b8.tar.gz
gcc-c1b8f25d8090e778b330555005c81bc0c582a6b8.tar.bz2
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
Diffstat (limited to 'gcc/ipa-utils.h')
-rw-r--r--gcc/ipa-utils.h1
1 files changed, 1 insertions, 0 deletions
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 <cgraph_node *>
possible_polymorphic_call_targets (tree, HOST_WIDE_INT,