http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49997
--- Comment #5 from Jan Hubicka <hubicka at ucw dot cz> 2011-09-11 09:42:32 UTC --- > Possibly. Last time I tried it it however lead to bigger and slower binaries. > Well, I will patch frescobaldi today and lets see. OK, removing this trick alone regress tramp3d by about 80%,and capacita by about 15%. Causes small regression on wave & nbench. reduces size a bit for dlv. The reason for this is to drive heuristic to preffer functions that can ultimately be fully inlined wihtout much of effort. Frankly I think this makes sense. We could of course reach this otherwise. Like compute expected growths just once and expect that other inlining won't affect them in important way (that si wrong of course) and/or just cut the update algorithm by fixed threshold allowing priority queue to ba partly out of date when we run into the most expensive cases. Honza