https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119900
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Reverting the change of size_costs solves the regression, so it is about differences in optimization of cold code. I will try to track down what causes that.