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

Fei Yang fyang at openjdk.org
Tue Jan 2 09:13:47 UTC 2024


On Tue, 2 Jan 2024 07:55:59 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

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

LGTM. Thanks.

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

Marked as reviewed by fyang (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17216#pullrequestreview-1800126103


More information about the hotspot-dev mailing list