diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/dfp.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d64969..8777019 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-06-23 Ben Elliston <bje@au.ibm.com> + + * dfp.c (decimal_to_decnumber): Do not use decNumberNegate to + negate dn -- manipulate it directly. + 2006-06-22 Roger Sayle <roger@eyesopen.com> Steven Bosscher <stevenb.gcc@gmail.com> @@ -137,7 +137,7 @@ decimal_to_decnumber (const REAL_VALUE_TYPE *r, decNumber *dn) /* Fix up sign bit. */ if (r->sign != decNumberIsNegative (dn)) - decNumberNegate (dn); + dn->bits ^= DECNEG; } /* Encode a real into an IEEE 754R decimal32 type. */ |