aboutsummaryrefslogtreecommitdiff
path: root/libgcc/soft-fp/floatbitintsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/soft-fp/floatbitintsd.c')
-rw-r--r--libgcc/soft-fp/floatbitintsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/soft-fp/floatbitintsd.c b/libgcc/soft-fp/floatbitintsd.c
index 5c5ed6c..4901aa8 100644
--- a/libgcc/soft-fp/floatbitintsd.c
+++ b/libgcc/soft-fp/floatbitintsd.c
@@ -113,7 +113,7 @@ __bid_floatbitintsd (const UBILtype *i, SItype iprec)
buf + BITINT_END (q_limbs - 1, 0), q_limbs);
inexact = buf[q_limbs + pow10_limbs];
for (j = 1; j < pow10_limbs; ++j)
- inexact |= buf[q_limbs + pow10_limbs + 1];
+ inexact |= buf[q_limbs + pow10_limbs + j];
}
else
{