------- Comment #25 from hubicka at ucw dot cz 2010-04-03 21:19 ------- Subject: Re: [4.5 regression] 0.5% code size regression caused by r147852
> But the the code as-is allows unlimited growth of a function (well, > by PARAM_LARGE_FUNCTION_GROWTH for each inlining; the limit is > basically PARAM_LARGE_FUNCTION_INSNS * (1 + > PARAM_LARGE_FUNCTION_GROWTH/100) ^ n with n being the number of Size after inlining decide whether we want to apply PARAM_LARGE_FUNCTION_GROWTH or not. When we decide so (based on overall function size), the limit is computed based on size without inlining. So PARAM_LARGE_FUNCTION_INSNS only adds a buffer for small functions, but should not interfere with the growth limits once function gets bigger than that. (at least it is intended to work this way, I will double check the implementation after returning) Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40436