[Bug c/96760] Faulty optimization in nested loops with -O2
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 24 09:54:59 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96760
Andreas Schwab <schwab@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 <schwab@linux-m68k.org> ---
The inner loop never reaches the increment expression because c is nonzero,
thus no undefined behaviour occurs.
More information about the Gcc-bugs
mailing list