Commit 65c2b6d2 by Jan Hubicka Committed by Jan Hubicka

ipa.c (walk_polymorphic_call_targets): Fix updating of overall summary.

	* ipa.c (walk_polymorphic_call_targets): Fix updating of overall
	summary.

From-SVN: r279810
parent 2efa10d5
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
......
......@@ -244,7 +244,8 @@ walk_polymorphic_call_targets (hash_set<void *> *reachable_call_targets,
}
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 ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment