https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Yep, I looked into this somewhat while preparing the patch. With new metric we manage to do a lot more inlining before hitting the limits. This is kind of positive effect - clearly inliner does things that pays back and it is posisble to drop down INLINE_UNIT_GROWTH. On the other hand it produces somewhat longer text segment that also leads to slower compile times. I finally got working firefox in all setups and plan to do some of inliner tuning this week, so will look into that. What is the full -Q report you get? Honza