-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8316893: Compile without -fno-delete-null-pointer-checks #15982
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
NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse" | ||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be safer to leave the quote around the DSE flag. Also, why not flag(s) instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
/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-checks
optimization in GCC and Clang.It also disables
nonnull-compare
warning 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
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/15982/head:pull/15982
$ git checkout pull/15982
Update a local copy of the PR:
$ git checkout pull/15982
$ git pull https://git.openjdk.org/jdk.git pull/15982/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 15982
View PR using the GUI difftool:
$ git pr show -t 15982
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/15982.diff
Webrev
Link to Webrev Comment