|
|
|
|
|
by scatters
3415 days ago
|
|
If you want the compiler to leave the dereferences in, use `-fno-delete-null-pointer-checks` or ask your compiler vendor for an equivalent option. Compilers delete null pointer checks by default (on typical platforms) because it's what most users want. |
|
It's what users think they want (it leads to e.g. higher numbers on meaningless microbenchmarks).