This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/35194] floating point truncation error on intel platform
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Feb 2008 10:25:23 -0000
- Subject: [Bug ada/35194] floating point truncation error on intel platform
- References: <bug-35194-15778@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rguenth at gcc dot gnu dot org 2008-02-15 10:25 -------
So this is a problem of the oracle library not re-setting FPU state. The
general ada problem, if it exists, is probably a dup of PR323 if it expects
double to behave consistently as if it had a mantissa of 53 bits. Note
that starting with gcc 4.3 there is a global flag to control FPU precision
at program start (-mpc{32,64,80}), but that affects all types and so doesn't
help here (but with -mpc64 the behavior should be consistent at least wrt
the oracle library).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35194