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

Doerr, Martin martin.doerr at sap.com
Wed Oct 31 16:13:54 UTC 2018

Hi Lutz,

looks good.


-----Original Message-----
From: hotspot-compiler-dev <hotspot-compiler-dev-bounces at openjdk.java.net> On Behalf Of Schmidt, Lutz
Sent: Mittwoch, 31. Oktober 2018 16:31
To: 'hotspot-compiler-dev at openjdk.java.net' <hotspot-compiler-dev at openjdk.java.net>
Subject: [CAUTION] RFR(S): 8213196: [ppc] [s390]: prepare code for gcc7.3.1 warning (int-in-bool-context)

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!

More information about the hotspot-compiler-dev mailing list