4 ms·
What about "-fno-delete-null-pointer-checks" (https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-fdelete-null-pointer-checks https://gcc.gnu.org/onl
by mellowmoonling 3y ago
What about "-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...)?
I've never understood why you would want to delete null pointer checks. The redhat blog also mentions this: https://www.redhat.com/en/blog/security-flaws-caused-compiler-optimizations https://www.redhat.com/en/blog/security-flaws-caused-compile...