https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108351
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sjames at gcc dot gnu.org --- Comment #8 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Martin Jambor from comment #5) > If you rename main to something else, like bar, and so the calls to f > outside of the loop are not considered cold, you get the GCC 12 > behavior. Is this reduced from a real-world problem? > Yann?