https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92077
--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> --- We have --param comdat-sharing-probablity which says that average comdat function has only 20% chance to be shared with another copy of same comdat in other unit. This was introduced because of Firefox developers complaining that -Os increases size of C++ and I measured that value somehow in 2010 or so. It may make sense to re-test if that param works as expected today.