[Bug c++/104635] for loop optimized into infinite loop

szullo.adam at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 22 14:38:15 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104635

--- Comment #8 from Szüllő Ádám <szullo.adam at gmail dot com> ---
Yes, the code as a whole is invalid.
But for(int i=0; i<4; i++) is well defined.


More information about the Gcc-bugs mailing list