https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107403
--- Comment #4 from Andrew Pinski ---
See https://gcc.gnu.org/legacy-ml/gcc/2017-10/msg00192.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107403
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107403
--- Comment #2 from Andrew Pinski ---
Note gcc and clang have different implementation defined behavior here too.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107403
--- Comment #1 from Andrew Pinski ---
No this is correct.
i.y << 8ULL
Is all done in 56bit type as the type is greater than the size of int.
Note c allows this behavior while c++ does not.