[Bug c/79142] bit shift + compare returns wrong value
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 19 00:08:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79142
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
1ull << 64 is undefined in C and C++ standards.
But results are correct.
More information about the Gcc-bugs
mailing list