From c651dca218fe1660781bdc5cfb249fd4c3da8a28 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 12 Sep 2017 13:21:52 +0000 Subject: [PATCH] re PR middle-end/82149 (match.pd: 2919: bad if test ?) 2017-09-12 Richard Biener PR middle-end/82149 * match.pd ((FTYPE) N CMP CST): Fix typo. From-SVN: r252007 --- gcc/ChangeLog | 5 +++++ gcc/match.pd | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 67753a24251..bee3f99e90f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-09-12 Richard Biener + + PR middle-end/82149 + * match.pd ((FTYPE) N CMP CST): Fix typo. + 2017-09-12 Simon Atanasyan * config/mips/mips.c (mips_attribute_table): Add 'short_call' diff --git a/gcc/match.pd b/gcc/match.pd index ff8f7b18f6a..dbfceaf10a5 100644 --- a/gcc/match.pd +++ b/gcc/match.pd @@ -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; -- 2.30.2