Integrated: 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 09:13:13 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.
This pull request has now been integrated.
Changeset: 9b64ece5
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9b64ece514cf941ebc727991d97c43453d8a488d
Stats: 5 lines in 2 files changed: 0 ins; 0 del; 5 mod
8332904: ubsan ppc64le: c1_LIRGenerator_ppc.cpp:581:21: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int'
Reviewed-by: mdoerr, jkern
-------------
PR: https://git.openjdk.org/jdk/pull/19413
More information about the hotspot-compiler-dev
mailing list