[Bug fortran/83235] IAND sometimes doesn't take bitwise-and of sign bit with -O2

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 1 13:23:00 GMT 2017


--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That is a bad understanding of what undefined behavior means.  After you invoke
undefined behavior anywhere in your program, anything can happen, there are no
constraints on what can happen.

More information about the Gcc-bugs mailing list