https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99834
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2021-03-31 Version|unknown |11.0 CC| |hubicka at gcc dot gnu.org Keywords| |missed-optimization Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Similar to the other bug - when 'main' is named 'bar' then we optimize it OK at -O3, the difference being again loop header copying not applied in "cold" context but inlining is. Not sure if we want to call this a bug, but then the inconsistency is odd.