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

2018-03-22 Thread rvdv at vandewiele dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rvdv at vandewiele dot com Target Milestone: --- Created attachment 43732 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43732&action=edit source file The code in attachment

[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

[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&action=edit assembly output 7.3.0 This is the assembly output i get with 7.3.0 (and as early as 6.1.0)