https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103447
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Use 1ll<<48 to get the right value. 1 by itself is of type int which is 32 bit so you are shifting outside of the bounds and there for it is undefined.