[PATCH v2] Refactor to avoid nonnull checks on "this" pointer.
Peter Foley
pefoley2@pefoley.com
Fri Apr 1 13:34:00 GMT 2016
On Fri, Apr 1, 2016 at 9:12 AM, Yaakov Selkowitz <yselkowitz@cygwin.com> wrote:
> See https://gcc.gnu.org/gcc-6/porting_to.html, section named "Optimizations
> remove null pointer checks for this".
If there's an better way to do this, I'm all ears.
However, it seems to come down to either making these methods static
or passing -fno-delete-null-pointer-checks unconditionally once gcc
6.0 becomes stable.
Thanks,
Peter
More information about the Cygwin-patches
mailing list