diff options
Diffstat (limited to 'gcc/d/d-ctfloat.cc')
-rw-r--r-- | gcc/d/d-ctfloat.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/d/d-ctfloat.cc b/gcc/d/d-ctfloat.cc index 6e6d10f..c4d9a44 100644 --- a/gcc/d/d-ctfloat.cc +++ b/gcc/d/d-ctfloat.cc @@ -55,8 +55,7 @@ CTFloat::isIdentical (real_t x, real_t y) { real_value rx = x.rv (); real_value ry = y.rv (); - return (REAL_VALUE_ISNAN (rx) && REAL_VALUE_ISNAN (ry)) - || real_identical (&rx, &ry); + return real_identical (&rx, &ry); } /* Return true if real_t value R is NaN. */ |