Fix typo in recent match.pd pattern

Message ID alpine.LSU.2.20.1709121520250.26836@zhemvz.fhfr.qr
State New
Headers show
Series
  • Fix typo in recent match.pd pattern
Related show

Commit Message

Richard Biener Sept. 12, 2017, 1:20 p.m.
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.

Richard.

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

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

Patch

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;