https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108720
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Also if you want to make signed integer overflow as being defined, you can use -fwrapv .
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 08 Feb 2023 08:49:18 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108720
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Also if you want to make signed integer overflow as being defined, you can use -fwrapv .