8316893: Compile without -fno-delete-null-pointer-checks#15982
8316893: Compile without -fno-delete-null-pointer-checks#15982djelinski wants to merge 6 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back djelinski! A progress list of the required criteria for merging this PR into |
|
@djelinski The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
|
Man, your work with clang is really leaving me in the dust :P |
Webrevs
|
make/autoconf/flags-cflags.m4
Outdated
| FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG], | ||
| PREFIX: $2, IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""]) | ||
| $1_GCC6_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}" | ||
| $1_GCC6_CFLAGS=${NO_LIFETIME_DSE_CFLAG} |
There was a problem hiding this comment.
Might be safer to leave the quote around the DSE flag. Also, why not flag(s) instead?
There was a problem hiding this comment.
I reverted the quotes.
Didn't get your question; are you suggesting to rename the variable? I'd rather not do that, because 1) it increases the patch size, 2) all variables are global, so renaming might have unintended consequences, and 3) the old name is good enough.
There was a problem hiding this comment.
Ah no, I meant the comment, from This flag -> These flag(s), since it's implied that this site is where multiple gcc specific flags should be placed in the future. Just a small nit, nothing serious
There was a problem hiding this comment.
Ah. This place is for GCC6-related flags only, other flags are added in other places. I'm pretty sure we won't add any more flags for GCC6.
|
@djelinski This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 3 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
|
/integrate |
|
Going to push as commit 287b243.
Your commit was automatically rebased without conflicts. |
|
@djelinski Pushed as commit 287b243. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Please review this patch that reenables
delete-null-pointer-checksoptimization in GCC and Clang.It also disables
nonnull-comparewarning that is now triggered in debug builds. The problematic code will be addressed by #15927.Mach5 Tier1-5 testing clean.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/15982/head:pull/15982$ git checkout pull/15982Update a local copy of the PR:
$ git checkout pull/15982$ git pull https://git.openjdk.org/jdk.git pull/15982/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 15982View PR using the GUI difftool:
$ git pr show -t 15982Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/15982.diff
Webrev
Link to Webrev Comment