------- Comment #2 from dominiq at lps dot ens dot fr 2009-05-12 13:23 ------- > decreasing --param hot-bb-frequency-fraction might help in this case.
I have tried --param hot-bb-frequency-fraction=1 (which seems the smallest possible value, see pr40119), but it did not changed anything. What I find very surprising is that the ~15% slow-down appears as soon as one call is inlined, but without further slow-down with more inlining (I have tested 4 and -fwhole-file inline 28 of them). If the block was misoptimized I would expect a slow-down increasing with the number of inlined calls. Could the problem be related to cache management instead (L1, since L2 is 4Mb on my core2Duo)? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40106