https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96760
Andreas Schwab <sch...@linux-m68k.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2020-08-24 Ever confirmed|0 |1 Resolution|INVALID |--- --- Comment #2 from Andreas Schwab <sch...@linux-m68k.org> --- The inner loop never reaches the increment expression because c is nonzero, thus no undefined behaviour occurs.