RFR: 8324833: Signed integer overflows in ABS [v3]

Aleksey Shipilev shade at openjdk.org
Fri Feb 2 09:47:28 UTC 2024


> See the details in the bug. I think current `ABS` implementation is beyond repair, and we should just switch to `uabs`.
> 
> Additional testing:
>  - [x] Linux x86_64 fastdebug, `all` with `-ftrapv` (now fully passes!)
>  - [x] Linux x86_64 fastdebug, `all`

Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:

  Touchups

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/17617/files
  - new: https://git.openjdk.org/jdk/pull/17617/files/00d4d84b..96a1987c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17617&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17617&range=01-02

  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/17617.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17617/head:pull/17617

PR: https://git.openjdk.org/jdk/pull/17617


More information about the graal-dev mailing list