RFR: 8312121: Fix -Wconversion warnings in tribool.hpp [v3]
Coleen Phillimore
coleenp at openjdk.org
Tue Jul 25 03:05:49 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:
Missed TriBoolAssigner case.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14892/files
- new: https://git.openjdk.org/jdk/pull/14892/files/c0e12b5d..f4f32fb5
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14892&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14892&range=01-02
Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 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