RFR: 8312121: Fix -Wconversion warnings in tribool.hpp [v4]
Coleen Phillimore
coleenp at openjdk.org
Tue Jul 25 15:16:06 UTC 2023
> 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:
Add some more u1 casts to keep Windows compiler happy hopefully.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14892/files
- new: https://git.openjdk.org/jdk/pull/14892/files/f4f32fb5..f135916d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14892&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14892&range=02-03
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/14892.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14892/head:pull/14892
PR: https://git.openjdk.org/jdk/pull/14892
More information about the hotspot-dev
mailing list