-
Couldn't load subscription status.
- Fork 6.1k
8355979: ATTRIBUTE_NO_UBSAN needs to be extended to handle float divisions by zero on AIX #24963
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
Conversation
|
/help |
|
👋 Welcome back mbaesken! A progress list of the required criteria for merging this PR into |
|
@MBaesken 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 49 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
/contributor add JoKern65 |
|
@MBaesken Available commands:
|
|
@MBaesken Syntax:
User names can only be used for users in the census associated with this repository. For other contributors you need to supply the full name and email address. |
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.
LGTM
| #if defined(__clang__) | ||
| #define ATTRIBUTE_NO_UBSAN __attribute__((no_sanitize("undefined","float-divide-by-zero"))) | ||
| #endif | ||
| #if defined(__GNUC__) && !defined(__clang__) |
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.
Maybe use #elif?
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.
Or should I try to set it for BOTH clang and gcc so that the added checks are not needed any more?
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.
If you change it to #elif, then please do it in both files.
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.
LGTM.
| #if defined(__clang__) | ||
| #define ATTRIBUTE_NO_UBSAN __attribute__((no_sanitize("undefined","float-divide-by-zero"))) | ||
| #endif | ||
| #if defined(__GNUC__) && !defined(__clang__) |
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.
If you change it to #elif, then please do it in both files.
|
/integrate |
|
Going to push as commit 088825e.
Your commit was automatically rebased without conflicts. |
Seems the currently used ATTRIBUTE_NO_UBSAN does not handle the exclusion of float divisions by zero.
At least this is the case on AIX.
(seen in the jtreg test java/lang/Math/PowTests.java )
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/24963/head:pull/24963$ git checkout pull/24963Update a local copy of the PR:
$ git checkout pull/24963$ git pull https://git.openjdk.org/jdk.git pull/24963/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 24963View PR using the GUI difftool:
$ git pr show -t 24963Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/24963.diff
Using Webrev
Link to Webrev Comment