[Bug c++/81928] if(!this) optimization leads to possible errors without warnings
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 23 22:26:00 GMT 2017
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.
More information about the Gcc-bugs
mailing list