https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68112
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Not exactly sure but at least GCC doesn't take advantage of any undefinedness in left-shifts (apart from the shift count being in-range for the type).