From: Jan Hubicka Date: Tue, 4 Mar 2008 07:01:39 +0000 (+0100) Subject: ipa-inline.c (cgraph_decide_inlining_of_small_function): Fix typo in last commit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7884852fd73823f77e1cc112c9016f8a6fd6aaa;p=gcc.git ipa-inline.c (cgraph_decide_inlining_of_small_function): Fix typo in last commit. * ipa-inline.c (cgraph_decide_inlining_of_small_function): Fix typo in last commit. From-SVN: r132854 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e630fafed7d..541fe3036f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-03-04 Jan Hubicka + + PR c++/35262 + * ipa-inline.c (cgraph_decide_inlining_of_small_function): Fix typo + in last commit. + 2008-03-04 Danny Smith * gthr-win32.h [__GTHREAD_HIDE_WIN32API] diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index b5ac1dc777d..06d00e355dd 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -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 && cgraph_estimate_growth (edge->callee)) + if (not_good && growth > 0 && cgraph_estimate_growth (edge->callee) > 0) { if (!cgraph_recursive_inlining_p (edge->caller, edge->callee, &edge->inline_failed))