RFR: 8312121: Fix -Wconversion warnings in tribool.hpp [v3]
Coleen Phillimore
coleenp at openjdk.org
Tue Jul 25 12:25:41 UTC 2023
On Tue, 25 Jul 2023 03:05:49 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> Assigning _value first, and then doing _value | 2 doesn't get -Wconversion warnings. Also, reduced include file inclusion a little.
>> Tested with tier1 on linux-x64-debug, windows-x64-debug, macos-aarch64-debug
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>
> Missed TriBoolAssigner case.
This doesn't compile on Windows, without a whole lot of other casts. I like my solution better now.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14892#issuecomment-1649736188
More information about the hotspot-dev
mailing list