bin/40209: __dtoa broken with -O2 or -O3 optimisation
David Schultz
das at FreeBSD.org
Mon Mar 31 04:17:10 PST 2003
Synopsis: __dtoa broken with -O2 or -O3 optimisation
State-Changed-From-To: open->closed
State-Changed-By: das
State-Changed-When: Mon Mar 31 04:11:31 PST 2003
State-Changed-Why:
This problem is due to the fact that gcc3 with -fstrict-aliasing
does not produce the intended output for code that violates C's
aliasing rules. Seems to happen only for quantities > 32-bits.
The new version of dtoa() imported a few weeks ago does not violate
C's aliasing rules and seems to work properly. I do not intend to
MFC this code, but then again, the old code works fine with gcc2.
http://www.freebsd.org/cgi/query-pr.cgi?pr=40209
More information about the freebsd-bugs
mailing list