[Bug c++/107798] optimizing -O3, "for" loop condition not checked anymore

angelo70 at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 21 22:06:09 GMT 2022


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

--- Comment #3 from angelo <angelo70 at gmail dot com> ---
Hi Andrew,

thanks, anyway, even if accessing on read a wrong memory address, shouldn't
anyway i < 3 * 3 be respected anyway, due to && ? With -O3 the code goes far
over 9.


More information about the Gcc-bugs mailing list