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 67753a24251822dc8149ec700d639a345bae4864..bee3f99e90f31c7582d6673841aa00c04b288c81 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 ff8f7b18f6a6bdd74b0a6603d3f327a3d4210d59..dbfceaf10a555c3ee86cbea864e4b058c26aaeeb 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;