From: Jan Hubicka Date: Wed, 30 Oct 2019 09:25:18 +0000 (+0100) Subject: ipa-prop.c (update_jump_functions_after_inlining): Watch for missing summaries. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd776d2834d40b6b49e1e2880d4cbde7f568ba29;p=gcc.git 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 --- 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);