https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66066
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- (In reply to Marek Polacek from comment #1) > Yes, that is expected (in C99!). See > <https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01946.html>. New tests > c90-left-shift-1.c and c99-left-shift-1.c explicitly test such behavior. Hmm, that looks quite unfortunate from a qoi standpoint. It will break tons of existing code.