https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123126
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
And -fprofile-partial-training helps a lot (15%) and resolves the regression.
I wonder if that should be enabled by default? It might also explain why
probably_never_executed_edge_p makes a difference here.
IMO this is a non-bug and -fprofile-use should imply
-fprofile-partial-training?