RFR: 8351660: C2: SIGFPE in unsigned_mod_value [v2]
Saranya Natarajan
duke at openjdk.org
Tue Apr 8 22:37:35 UTC 2025
On Tue, 8 Apr 2025 16:39:13 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> Saranya Natarajan has updated the pull request incrementally with one additional commit since the last revision:
>>
>> added jtreg test
>
> test/hotspot/jtreg/compiler/integerArithmetic/TestUnsignedModByZero.java line 50:
>
>> 48: double x = 1.0;
>> 49: return Long.remainderUnsigned(1, (long)(x % x));
>> 50: }
>
> These tests look identical... Did you mean to use `Integer.remainderUnsigned`?
Yes, that is correct. I have fixed this in the latest commit
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24410#discussion_r2034122439
More information about the hotspot-compiler-dev
mailing list