[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 08:35:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83235
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
For such a large x like 2806196910506780709 x*x overflows and thus it is
undefined behavior.
More information about the Gcc-bugs
mailing list