RFR: 8322817: RISC-V: Eliminate -Wparentheses warnings in riscv code [v3]

Kim Barrett kbarrett at openjdk.org
Tue Jan 9 22:50:50 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.
> 
> Testing: Local (linux-x64) cross-build for linux-riscv with this change plus
> -Wparentheses enabled and other changes to allow that to work.
> 
> Requesting someone from the riscv porters to properly test this.

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 riscv-wparentheses
 - Merge branch 'master' into riscv-wparentheses
 - simplify frame::equal assert
 - fix -Wparentheses warnings in riscv code

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17216/files
  - new: https://git.openjdk.org/jdk/pull/17216/files/aefd232c..86125124

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

  Stats: 13123 lines in 185 files changed: 10164 ins; 1583 del; 1376 mod
  Patch: https://git.openjdk.org/jdk/pull/17216.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17216/head:pull/17216

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


More information about the hotspot-dev mailing list