re PR middle-end/82149 (match.pd: 2919: bad if test ?)
authorRichard Biener <rguenther@suse.de>
Tue, 12 Sep 2017 13:21:52 +0000 (13:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 12 Sep 2017 13:21:52 +0000 (13:21 +0000)
2017-09-12  Richard Biener  <rguenther@suse.de>

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

From-SVN: r252007

gcc/ChangeLog
gcc/match.pd

index 67753a2..bee3f99 100644 (file)
@@ -1,3 +1,8 @@
+2017-09-12  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/82149
+       * match.pd ((FTYPE) N CMP CST): Fix typo.
+
 2017-09-12  Simon Atanasyan  <simon.atanasyan@imgtec.com>
 
        * config/mips/mips.c (mips_attribute_table): Add 'short_call'
index ff8f7b1..dbfceaf 100644 (file)
@@ -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;