Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How common is this in practice?


Compilers regularly delete null pointer checks when they can see that the pointer is dereferenced.


(GCC controls this with `-fno-delete-null-pointer-checks` https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#ind... )




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: