https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116989
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note UBSan already treats it as undefined behavior rather than the result being undefined.
pinskia at gcc dot gnu.org via Gcc-bugs Sat, 05 Oct 2024 13:54:55 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116989
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note UBSan already treats it as undefined behavior rather than the result being undefined.