http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55674
--- Comment #21 from Jan Hubicka <hubicka at ucw dot cz> 2012-12-22 23:20:37 UTC --- > I'll give this patch a try and let you know how it affects the > performance I see. But unrolling shouldn't affect inlining, since all > unrolling is after inlining, right? Well, it is, but we do other transformations that affect profile prior inlining + we use hot/cold code all across compilation, not just to drive inlining. Honza