RFR: 5038439: Warning message for literal shift amounts outside the canonical domain [v4]

Archie Cobbs acobbs at openjdk.org
Fri Nov 14 23:56:21 UTC 2025


On Tue, 11 Nov 2025 12:40:45 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

>> Archie Cobbs has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Don't warn for negative shift values that are otherwise in range.
>
> FWIW, from a corpus run, there are 5 cases of shift `-1`, 2 cases of shift `-5` and one cases of shift `-31`.

@lahodaj nevermind, @jddarcy got it! Thanks to both of you for reviewing & improving.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27102#issuecomment-3535081725


More information about the build-dev mailing list