diff options
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/soft-fp/floatbitintdd.c | 2 | ||||
-rw-r--r-- | libgcc/soft-fp/floatbitintsd.c | 2 | ||||
-rw-r--r-- | libgcc/soft-fp/floatbitinttd.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libgcc/soft-fp/floatbitintdd.c b/libgcc/soft-fp/floatbitintdd.c index 77c5fd7..4565572 100644 --- a/libgcc/soft-fp/floatbitintdd.c +++ b/libgcc/soft-fp/floatbitintdd.c @@ -114,7 +114,7 @@ __bid_floatbitintdd (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 { 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 { diff --git a/libgcc/soft-fp/floatbitinttd.c b/libgcc/soft-fp/floatbitinttd.c index 3bc18e2..5fff339 100644 --- a/libgcc/soft-fp/floatbitinttd.c +++ b/libgcc/soft-fp/floatbitinttd.c @@ -113,7 +113,7 @@ __bid_floatbitinttd (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 { |