Re: RFR: 8265431: Add -fdelete-null-pointer-checks to clang builds

2021-06-01 Thread Erik Joelsson
On Mon, 24 May 2021 14:03:45 GMT, Maxim Kartashev wrote: > This commit adds the `-fno-delete-null-pointer-checks` compiler option to > clang builds, which is going to become necessary starting from clang version > 12.0.0 (see the [bug > report](https://bugs.openjdk.java.net/browse/JDK-8265431

Re: RFR: 8265431: Add -fdelete-null-pointer-checks to clang builds

2021-06-01 Thread Maxim Kartashev
On Tue, 1 Jun 2021 13:23:49 GMT, Erik Joelsson wrote: > I left a comment in the bug that you haven't answered. Sorry, don't have write access to the bug. To answer your comment > You seem to be mixing up -fno-delete-null-pointer-checks and > -fdelete-null-pointer-checks between the descriptio

Re: RFR: 8265431: Add -fdelete-null-pointer-checks to clang builds

2021-06-01 Thread Erik Joelsson
On Mon, 24 May 2021 14:03:45 GMT, Maxim Kartashev wrote: > This commit adds the `-fno-delete-null-pointer-checks` compiler option to > clang builds, which is going to become necessary starting from clang version > 12.0.0 (see the [bug > report](https://bugs.openjdk.java.net/browse/JDK-8265431

RFR: 8265431: Add -fdelete-null-pointer-checks to clang builds

2021-05-24 Thread Maxim Kartashev
This commit adds the `-fno-delete-null-pointer-checks` compiler option to clang builds, which is going to become necessary starting from clang version 12.0.0 (see the [bug report](https://bugs.openjdk.java.net/browse/JDK-8265431) for more info). Verified on Linux (with both gcc and clang toolch