* ipa.c (walk_polymorphic_call_targets): Fix updating of overall
summary.
From-SVN: r279810
+2020-01-01 Jan Hubicka <hubicka@ucw.cz>
+
+ * ipa.c (walk_polymorphic_call_targets): Fix updating of overall
+ summary.
+
2020-01-01 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/93098
}
edge = edge->make_direct (target);
if (ipa_fn_summaries)
- ipa_update_overall_fn_summary (node);
+ ipa_update_overall_fn_summary (node->inlined_to
+ ? node->inlined_to : node);
else if (edge->call_stmt)
edge->redirect_call_stmt_to_callee ();
}