diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2007-06-06 19:24:28 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2007-06-06 19:24:28 +0000 |
commit | 1eeaeab85534f9bd6387803564713606a937ab3f (patch) | |
tree | f5ae408fa26bb679735c3d269b35c7e6a63bbab3 /newlib/libc/stdlib/ldtoa.c | |
parent | a874abaf378f37a217bf083fc1c283d33c415548 (diff) | |
download | cygnal-1eeaeab85534f9bd6387803564713606a937ab3f.tar.gz cygnal-1eeaeab85534f9bd6387803564713606a937ab3f.tar.bz2 cygnal-1eeaeab85534f9bd6387803564713606a937ab3f.zip |
2007-06-06 Christian Groessler <chris@groessler.org>
* libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
rnd is done after the last local variable declaration.
2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
Diffstat (limited to 'newlib/libc/stdlib/ldtoa.c')
-rw-r--r-- | newlib/libc/stdlib/ldtoa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/ldtoa.c b/newlib/libc/stdlib/ldtoa.c index d4457938f..bb12f0cc7 100644 --- a/newlib/libc/stdlib/ldtoa.c +++ b/newlib/libc/stdlib/ldtoa.c @@ -2868,10 +2868,10 @@ unsigned short e[NI]; LDPARMS rnd; LDPARMS *ldp = &rnd; +union uconv du; + rnd.rlast = -1; rnd.rndprc = NBITS; - -union uconv du; du.d = *d; #if LDBL_MANT_DIG == 24 e24toe( &du.pe, e, ldp ); |