From fd776d2834d40b6b49e1e2880d4cbde7f568ba29 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Wed, 30 Oct 2019 10:25:18 +0100 Subject: ipa-prop.c (update_jump_functions_after_inlining): Watch for missing summaries. * ipa-prop.c (update_jump_functions_after_inlining): Watch for missing summaries. From-SVN: r277604 --- gcc/ipa-prop.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc/ipa-prop.c') diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 5e70395..637c7ae5 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -2660,6 +2660,11 @@ update_jump_functions_after_inlining (struct cgraph_edge *cs, for (i = 0; i < count; i++) { struct ipa_jump_func *dst = ipa_get_ith_jump_func (args, i); + if (!top) + { + ipa_set_jf_unknown (dst); + continue; + } class ipa_polymorphic_call_context *dst_ctx = ipa_get_ith_polymorhic_call_context (args, i); -- cgit v1.1