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: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Feb 2008 11:12:49 -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 #7 from ubizjak at gmail dot com 2008-02-15 11:12 -------
(In reply to comment #6)
> After testing it, the -mpc option do not help.
>
> I agree this seems to be a problem of oracle not re-setting the FPU state.
> Nevertheless, this makes ada unusable (or unreliable, which is not really
> better) with oracle 10, oracle 11, and potentially many other software under
> Linux ... a quite sad situation.
What if you add -msse2 -mfpmath=sse? Then you use SSE for float and double
calculations.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35194