RFR: 8332904: ubsan ppc64le: c1_LIRGenerator_ppc.cpp:581:21: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int'
Matthias Baesken
mbaesken at openjdk.org
Wed May 29 08:24:02 UTC 2024
On Mon, 27 May 2024 14:48:45 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> When using ubsan on Linux ppc64le we run into some overflows like this one
>
> c1_LIRGenerator_ppc.cpp:581:21: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int'
>
> Seems we have to add casts to get defined behavior.
> There are similar places in the coding as well.
Hi Martin, thanks for the review !
May I get a second review ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19413#issuecomment-2136826402
More information about the hotspot-compiler-dev
mailing list