https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78135
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> ---
Also:
printf("\n Finally: 0x%016lx, how silly can you get?\n",
(unsigned long)((1 << 24) << 7));
This is undefined as shifting into the sign bit is undefined.
use instead:
printf("\n Finally: 0x%016lx, how silly can you get?\n",
(unsigned long)((1ul << 24) << 7));