RFR(S): 8213196: [ppc] [s390]: prepare code for gcc7.3.1 warning (int-in-bool-context)

Thomas Stüfe thomas.stuefe at gmail.com
Mon Nov 5 11:51:21 UTC 2018


+1

Best, Thomas
On Wed, Oct 31, 2018 at 4:31 PM Schmidt, Lutz <lutz.schmidt at sap.com> wrote:
>
> Dear all,
>
> may I please request some reviews for this small fix? It adds an additional pair of parentheses to some ad-file code snippets. Without them, operator precedence rules create unintended operand associations when the snippets are embedded into context during adlc processing. As a consequence, gcc fires an “int-in-bool-context” warning.
>
> Bug:    https://bugs.openjdk.java.net/browse/JDK-8213196
> Webrev: http://cr.openjdk.java.net/~lucy/webrevs/8213196.00/
>
> Thank you!
> Lutz
>
>


More information about the hotspot-compiler-dev mailing list