4 ms·
How common is this in practice?
by charlie90 11mo ago
How common is this in practice?
- adrianN 11mo agoCompilers regularly delete null pointer checks when they can see that the pointer is dereferenced.
- Smaug123 11mo ago(GCC controls this with `-fno-delete-null-pointer-checks` https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-fdelete-null-pointer-checks https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#ind... )