* ipa-inline.c: Fix type; compute size rather than self_size
for size of caller function.
From-SVN: r276629
+2019-10-05 Jan Hubicka <hubicka@ucw.cz>
+
+ * ipa-inline.c: Fix type; compute size rather than self_size
+ for size of caller function.
+
2019-10-05 Iain Sandoe <iain@sandoe.co.uk>
PR target/59888
if (need_more_work)
noninline_callee ();
}
- Withhout panilizing this case, we usually inline noninline_callee
+ Withhout penalizing this case, we usually inline noninline_callee
into the inline_caller because overall_growth is small preventing
further inlining of inline_caller.
overall_growth += 256 * 256 - 256;
denominator *= overall_growth;
}
- denominator *= ipa_fn_summaries->get (caller)->self_size + growth;
+ denominator *= ipa_fn_summaries->get (caller)->size + growth;
badness = - numerator / denominator;