https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107409
--- Comment #13 from Martin Liška <marxin at gcc dot gnu.org> --- Note the mentioned revision is a fix and yes, sometimes these revisions can end up with a regression as profile estimation is a complex guess.