From fd776d2834d40b6b49e1e2880d4cbde7f568ba29 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Wed, 30 Oct 2019 10:25:18 +0100 Subject: [PATCH] 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/ChangeLog | 5 +++++ gcc/ipa-prop.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 618197d1fbe..db26d1b88c9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-10-30 Jan Hubicka + + * ipa-prop.c (update_jump_functions_after_inlining): + Watch for missing summaries. + 2019-10-30 Richard Biener PR tree-optimization/65930 diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 5e703955f01..637c7ae5d02 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); -- 2.30.2