https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101291
--- Comment #2 from Kewen Lin <linkw at gcc dot gnu.org> --- (In reply to Kewen Lin from comment #1) > Hi Jeff, what's the option and stanza? The reason why I asked is that I can't simply reproduce it locally at O2, with C compiler it likely runs forever. I guess what you tested is the C++ stanza, so it turns on -ffinite-loops by default as the doc and the loop can stop.