https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81928
--- Comment #16 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -fsanitize=undefined will catch the NULL pointer at runtime.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81928
--- Comment #16 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -fsanitize=undefined will catch the NULL pointer at runtime.