https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107785
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Unsigned integer types are defined to be wrapping types which is why it works with that.
pinskia at gcc dot gnu.org via Gcc-bugs Mon, 21 Nov 2022 01:16:55 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107785
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Unsigned integer types are defined to be wrapping types which is why it works with that.