https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91838
Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #3 from Alexander Monakov <amonakov at gcc dot gnu.org> --- For unsigned int this would be undefined behavior via attempt to shift by 32 (but we fail to emit the corresponding warning). For narrower types (char, short) this seems well-defined.