[Bug c++/105393] A simple for loop becomes an infinite when -O1/2/3 used
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 26 12:12:30 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105393
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Falling through to the end of a non void function in c++ is undefined.
More information about the Gcc-bugs
mailing list