summaryrefslogtreecommitdiff
path: root/gcc/real.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/real.c')
-rw-r--r--gcc/real.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/real.c b/gcc/real.c
index 369d32401fb..d04afabfe1d 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -1371,7 +1371,7 @@ real_to_integer2 (plow, phigh, r)
exp = r->exp;
if (exp <= 0)
goto underflow;
- if (exp >= 2*HOST_BITS_PER_WIDE_INT)
+ if (exp > 2*HOST_BITS_PER_WIDE_INT)
goto overflow;
rshift_significand (&t, r, 2*HOST_BITS_PER_WIDE_INT - exp);