https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78135
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- wk = 0x100000000 << j; That is still int << j Try changing it to be the following: wk = 0x100000000ull << j;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78135
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- wk = 0x100000000 << j; That is still int << j Try changing it to be the following: wk = 0x100000000ull << j;