https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112947
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is by design. -fsanitize=undefined turns off -fdelete-null-pointer-checks .
pinskia at gcc dot gnu.org via Gcc-bugs Sun, 10 Dec 2023 15:34:48 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112947
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is by design. -fsanitize=undefined turns off -fdelete-null-pointer-checks .