RFR: 8322759: Eliminate -Wparentheses warnings in compiler code

Kim Barrett kbarrett at openjdk.org
Fri Dec 29 03:39:08 UTC 2023


Please review this change to eliminate some -Wparentheses warnings. This
involved simply adding a few parentheses to make some implicit operator
precedence explicit.

This change addresses non-C2 parts of the compiler component.

Testing: mach5 tier1

Also ran mach5 tier1 with these changes in conjunction enabling -Wparentheses
and other changes needed to make that work.

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

Commit messages:
 - fix -Wparentheses warnings in non-C2 compiler code

Changes: https://git.openjdk.org/jdk/pull/17200/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17200&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8322759
  Stats: 12 lines in 5 files changed: 0 ins; 0 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/17200.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17200/head:pull/17200

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


More information about the hotspot-compiler-dev mailing list