diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ipa-prop.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 618197d..db26d1b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-10-30 Jan Hubicka <hubicka@ucw.cz> + + * ipa-prop.c (update_jump_functions_after_inlining): + Watch for missing summaries. + 2019-10-30 Richard Biener <rguenther@suse.de> PR tree-optimization/65930 diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 5e70395..637c7ae 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); |