This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31114] Consistent floating point arithmetic model option
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Mar 2007 20:54:41 -0000
- Subject: [Bug fortran/31114] Consistent floating point arithmetic model option
- References: <bug-31114-14178@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from kargl at gcc dot gnu dot org 2007-03-09 20:54 -------
(In reply to comment #0)
>
> In other words, I'm after an analogue of ifort's -mp/-fltconsistency/-mieee-fp.
>
GCC supports many many many more CPU architectures than ifort. This
isn't going to happen unless you want a very slow Fortran compiler
where all FP is done in software.
If you really care about FP, you would use the Fortran 2003's
IEEE 754 intrinsic module. Unfortunately, this isn't implemented
yet for gfortran, and when it is first introduced, it will
most likely be target dependent.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31114