[Bug target/85035] nios2: adding -fdelete-null-pointer-checks with -O2 enabled

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 22 16:29:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85035

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Optimize-Options.html#index-fdelete-null-pointer-checks

This option is enabled by default on most targets. On Nios II ELF, it defaults
to off. On AVR and CR16, this option is completely disabled.


--- CUT ---
Does that explain the difference with respect of -fdelete-null-pointer-checks ?


More information about the Gcc-bugs mailing list