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

Schmidt, Lutz lutz.schmidt at sap.com
Wed Oct 31 16:14:54 UTC 2018


Thanks for the review, Martin!
Regards,
Lutz

On 31.10.18, 17:13, "Doerr, Martin" <martin.doerr at sap.com> wrote:

    Hi Lutz,
    
    looks good.
    
    Thanks,
    Martin
    
    
    -----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!
    Lutz
     
    
    



More information about the hotspot-compiler-dev mailing list