summaryrefslogtreecommitdiff
path: root/gcc/d/d-ctfloat.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/d/d-ctfloat.cc')
-rw-r--r--gcc/d/d-ctfloat.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/d/d-ctfloat.cc b/gcc/d/d-ctfloat.cc
index 6e6d10ff0a4..c4d9a44c59b 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. */