From: hubicka Date: Wed, 30 Oct 2019 09:25:18 +0000 (+0000) Subject: * ipa-prop.c (update_jump_functions_after_inlining): X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=102f6a3ce08340268a332b2000519328c3f6a13f;p=thirdparty%2Fgcc.git * ipa-prop.c (update_jump_functions_after_inlining): Watch for missing summaries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277604 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 618197d1fbe9..db26d1b88c99 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 5e703955f01a..637c7ae5d02d 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);