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

Kim Barrett kbarrett at openjdk.org
Mon Jan 8 01:41:47 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 three additional commits since the last revision:

 - 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/ef64e2e1..aefd232c

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

  Stats: 4892 lines in 422 files changed: 2586 ins; 929 del; 1377 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