RFR: 8300800: UB: Shift exponent 32 is too large for 32-bit type 'int' [v2]
Andrew Dinn
adinn at openjdk.org
Mon Aug 12 08:31:31 UTC 2024
On Mon, 12 Aug 2024 08:19:44 GMT, Afshin Zafari <azafari at openjdk.org> wrote:
>> The operand of shift which is a constant `0` changed to `unsigned long`.
>
> Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision:
>
> Used UCONST64(0) instead of UL.
Kim is correct that this code is needed for Windows/aarch64. Hence that it should use UCONST64(0).
-------------
Marked as reviewed by adinn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20530#pullrequestreview-2232342472
More information about the hotspot-compiler-dev
mailing list