From: Jan Hubicka Date: Wed, 24 Jan 2007 22:45:34 +0000 (+0000) Subject: oops, wrong variant of patch. X-Git-Tag: releases/gcc-4.3.0~7273 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e2a6e7bd2639ae010d8f0fc51b98d278e2c1b5c;p=thirdparty%2Fgcc.git oops, wrong variant of patch. From-SVN: r121146 --- 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: