RFR: 8322759: Eliminate -Wparentheses warnings in compiler code [v2]

Kim Barrett kbarrett at openjdk.org
Mon Jan 8 05:37:45 UTC 2024


> 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.

Kim Barrett has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - Merge branch 'master' into compiler-wparentheses
 - simplify asserts
 - update copyrights for new year
 - fix -Wparentheses warnings in non-C2 compiler code

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17200/files
  - new: https://git.openjdk.org/jdk/pull/17200/files/b2a4515a..e130bb2f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17200&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17200&range=00-01

  Stats: 5096 lines in 438 files changed: 2760 ins; 933 del; 1403 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