RFR: 8322759: Eliminate -Wparentheses warnings in compiler code
Vladimir Kozlov
kvn at openjdk.org
Tue Jan 2 20:16:47 UTC 2024
On Fri, 29 Dec 2023 03:33:11 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.
>
> 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.
Looks good.
src/hotspot/share/compiler/compilerDefinitions.inline.hpp line 2:
> 1: /*
> 2: * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
2024
-------------
Marked as reviewed by kvn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/17200#pullrequestreview-1800955588
PR Review Comment: https://git.openjdk.org/jdk/pull/17200#discussion_r1439783672
More information about the hotspot-compiler-dev
mailing list