https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115267
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic CC| |rguenth at gcc dot gnu.org Known to work| |13.3.0 Summary|Undue warning about |[14./15 Regression] Undue |undefined behavior in loop |warning about undefined |with varying limits |behavior in loop with | |varying limits Known to fail| |14.1.0, 15.0 Priority|P3 |P2 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Target Milestone|--- |14.2 Last reconfirmed| |2024-05-29 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. We're confusing ourselves with splitting the loop, I haven't digged how we confuse ourselves yet. -fno-split-loops avoids the diagnostic.