RFR: 8324121: SIGFPE in PhaseIdealLoop::extract_long_range_checks [v2]
Dean Long
dlong at openjdk.org
Tue Mar 26 16:47:32 UTC 2024
On Tue, 26 Mar 2024 08:22:03 GMT, Roland Westrelin <roland at openjdk.org> wrote:
>> Unfortunately, there is still an overflow here when `scale` is min_jlong.
>
> Right but isn't it harmless in this particular case?
No, if it's undefined behavior, we can't be sure what result the C++ compiler will give. And if we test with -ftrapv it will crash.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18397#discussion_r1539717622
More information about the hotspot-compiler-dev
mailing list