Type-punning through casts in strtod.c "miscompiled" by gcc trunk

David M. Gay dmg@acm.org
Wed Jul 2 14:13:00 GMT 2008

You must have an ancient copy of dtoa.c.  You really should
check for updates occasionally, either by sending "subscribe fp"
to netlib@ornl.gov (so you get automatic notification of updates)
or by manually checking every year or so.

The type-punning problem was fixed about eight years ago, and
there have been various other bug fixes.  As always, the current
source is available from netlib, e.g.,


See also the generalization


-- Dave

More information about the Newlib mailing list