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

2018-11-01 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85035 sandra at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

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

2018-10-29 Thread rvdv at vandewiele dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85035 --- Comment #5 from rvdv at vandewiele dot com --- Created attachment 44916 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44916=edit assembly output 7.3.0 This is the assembly output i get with 7.3.0 (and as early as 6.1.0) I have tried

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

2018-10-27 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85035 --- Comment #4 from sandra at gcc dot gnu.org --- Created attachment 44912 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44912=edit assembly language output

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

2018-10-27 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85035 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

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

2018-03-23 Thread rvdv at vandewiele dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85035 --- Comment #2 from rvdv at vandewiele dot com --- That would explain why different code is generated when it is removed. I assumed it was always on because the "-Q --help=optimizers" output showed it to be enabled. Does this mean the option

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

2018-03-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85035 --- Comment #1 from Andrew Pinski --- 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,