Commit 5e626cd9 by Martin Liska Committed by Martin Liska

Call ultimate_alias_target for node being inlined (PR ipa/87491).

2018-10-04  Martin Liska  <mliska@suse.cz>

	PR ipa/87491
	* ipa-inline.c (inline_to_all_callers_1):
	Call ultimate_alias_target for node being inlined.

From-SVN: r264835
parent b4ee6509
2018-10-04 Martin Liska <mliska@suse.cz>
PR ipa/87491
* ipa-inline.c (inline_to_all_callers_1):
Call ultimate_alias_target for node being inlined.
2018-10-04 Thomas Preud'homme <thomas.preudhomme@linaro.org> 2018-10-04 Thomas Preud'homme <thomas.preudhomme@linaro.org>
* lra-constraints.c (process_address_1): Bail out for all * lra-constraints.c (process_address_1): Bail out for all
...@@ -2219,10 +2219,11 @@ inline_to_all_callers_1 (struct cgraph_node *node, void *data, ...@@ -2219,10 +2219,11 @@ inline_to_all_callers_1 (struct cgraph_node *node, void *data,
if (dump_file) if (dump_file)
{ {
cgraph_node *ultimate = node->ultimate_alias_target ();
fprintf (dump_file, fprintf (dump_file,
"\nInlining %s size %i.\n", "\nInlining %s size %i.\n",
node->name (), ultimate->name (),
ipa_fn_summaries->get (node)->size); ipa_fn_summaries->get (ultimate)->size);
fprintf (dump_file, fprintf (dump_file,
" Called once from %s %i insns.\n", " Called once from %s %i insns.\n",
node->callers->caller->name (), node->callers->caller->name (),
......
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