Commit 44682fab by Jan Hubicka Committed by Jan Hubicka

re PR c++/35262 (FAIL: abi_check)

	PR c++/35262
	* ipa-inline.c (cgraph_decide_inlining_of_small_function): Be more
	aggressive on inlining cold calls.

From-SVN: r132838
parent bf98ec6c
2008-03-03 Jan Hubicka <jh@suse.cz>
PR c++/35262
* ipa-inline.c (cgraph_decide_inlining_of_small_function): Be more
aggressive on inlining cold calls.
2008-03-03 Richard Guenther <rguenther@suse.de>
* tree-ssa-sccvn.c (visit_reference_op_store): Do not insert
......
......@@ -925,7 +925,7 @@ cgraph_decide_inlining_of_small_functions (void)
not_good = N_("function not declared inline and code size would grow");
if (optimize_size)
not_good = N_("optimizing for size and code size would grow");
if (not_good && growth > 0)
if (not_good && growth > 0 && cgraph_estimate_growth (edge->callee))
{
if (!cgraph_recursive_inlining_p (edge->caller, edge->callee,
&edge->inline_failed))
......
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