Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.

Richard.

2017-09-12  Richard Biener  <rguent...@suse.de>

        PR middle-end/82149
        * match.pd ((FTYPE) N CMP CST): Fix typo.

Index: gcc/match.pd
===================================================================
--- gcc/match.pd        (revision 252002)
+++ gcc/match.pd        (working copy)
@@ -2916,7 +2916,7 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT)
          -fno-signaling-nans.  */
        bool exception_p
          = real_isnan (cst) && (cst->signalling
-                               || (cmp != EQ_EXPR || cmp != NE_EXPR));
+                               || (cmp != EQ_EXPR && cmp != NE_EXPR));
        /* INT?_MIN is power-of-two so it takes
          only one mantissa bit.  */
        bool signed_p = isign == SIGNED;

Reply via email to