https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120578
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |---
Status|RESOLVED |UNCONFIRMED
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> This behavior results in the for loop’s termination condition being affected
> by internal computations
But overflow is undefined behavior so the internal computation can't be
reached.