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

Dean Long dlong at openjdk.org
Fri Feb 2 21:28:07 UTC 2024


On Fri, 2 Feb 2024 06:20:03 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Yes, I think we care. I would try a build with `Wsigned-conversion` and look where we should sprinkle more `checked_cast`-s.

Let me try your latest with -Wsigned-conversion turned on.  If I remember correctly, checked_cast doesn't always work right when the "signed-ness" changes (signed --> unsigned or unsigned --> signed).

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

PR Comment: https://git.openjdk.org/jdk/pull/17617#issuecomment-1924721635


More information about the graal-dev mailing list