RFR: 8312121: Fix -Wconversion warnings in tribool.hpp [v5]

Dean Long dlong at openjdk.org
Thu Jul 27 19:19:41 UTC 2023


On Thu, 27 Jul 2023 14:11:48 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:
> 
>   Back to V1.

V1 looks good and seems to produce identical code.

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

PR Comment: https://git.openjdk.org/jdk/pull/14892#issuecomment-1654363335


More information about the hotspot-dev mailing list