https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57723
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work|12.2.0, 15.0 | Keywords|needs-bisection, | |needs-testcase | --- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #11) > Fixed in GCC 12. Actually that is only for the original testcase in comment #1. The one in comment #5 is still not fixed. Note in C++, there is a forward progress requirement so possible empty infinite loops can be removed (well except for trival ones but this is not a trivial one).