From: hubicka Date: Wed, 24 Jan 2007 22:45:34 +0000 (+0000) Subject: oops, wrong variant of patch. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=773aeca38a3b3c6c6842019c340c963d9b196c97;p=thirdparty%2Fgcc.git oops, wrong variant of patch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121146 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 803bc9d70d07..430f2ceed39b 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -760,8 +760,8 @@ compute_max_insns (int insns) if (max_insns < PARAM_VALUE (PARAM_LARGE_UNIT_INSNS)) max_insns = PARAM_VALUE (PARAM_LARGE_UNIT_INSNS); - return max_insns = ((HOST_WIDEST_INT) max_insns - * (100 + PARAM_VALUE (PARAM_INLINE_UNIT_GROWTH)) / 100); + return ((HOST_WIDEST_INT) max_insns + * (100 + PARAM_VALUE (PARAM_INLINE_UNIT_GROWTH)) / 100); } /* We use greedy algorithm for inlining of small functions: