[Bug c++/70403] A null pointer check removed with -O2 even with -fno-delete-null-pointer-checks

thadula at ciena dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 30 03:04:00 GMT 2016


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

--- Comment #8 from Hadula, Tomasz <thadula at ciena dot com> ---
When I compile with devirtualization disabled (i.e. with -fno-devirtualize) the
null pointer check is where it was supposed to be.

Any clue why?


More information about the Gcc-bugs mailing list