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

Kim Barrett kbarrett at openjdk.org
Tue Jan 9 22:50:52 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.

This pull request has now been integrated.

Changeset: a5071e01
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a5071e010be8c79f1a3cd96f7325d04bac8f7ae0
Stats:     9 lines in 2 files changed: 0 ins; 0 del; 9 mod

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

Reviewed-by: fyang, luhenry

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

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


More information about the hotspot-dev mailing list