RFR: 8322879: Eliminate -Wparentheses warnings in x86-32 code

Kim Barrett kbarrett at openjdk.org
Wed Jan 3 05:15:55 UTC 2024


Please review this trivial change to eliminate a -Wparentheses warning.
This involved simply adding parentheses to make the implicit operator
precedence explicit.

Testing: Locally (linux-x64) cross-compiled for linux-x86.  Also ran GHA with
-Wparentheses enabled along with this and other changes needed to make that
work.

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

Commit messages:
 - fix -Wparentheses warnings in x86-32 code

Changes: https://git.openjdk.org/jdk/pull/17237/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17237&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8322879
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/17237.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17237/head:pull/17237

PR: https://git.openjdk.org/jdk/pull/17237


More information about the hotspot-compiler-dev mailing list