This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: -ffast-math and gfortran
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: sgk at troutmask dot apl dot washington dot edu, toon at moene dot indiv dot nluug dot nl
- Cc: fortran at gcc dot gnu dot org, fxcoudert at gmail dot com, howarth at bromo dot msbb dot uc dot edu
- Date: Sun, 04 Jun 2006 12:25:51 +0200
- Subject: Re: -ffast-math and gfortran
> For an example of -ffast-math's potential problems, try
> compiling netlib's lapack and run the tests. This option
> should be renamed to -frisky-math.
[ ... examples ... ]
Yes, -ffast-math is definitely *not* the option you want to use
to compile software off-the-net that you don't know the algorithmic
basis of.
However, if you compile code you yourself wrote and know the limitations
of, it can be useful.
Cheers,
--
Toon Moene - e-mail: toon@moene.indiv.nluug.nl - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
A maintainer of GNU Fortran 95: http://gcc.gnu.org/fortran/
Gfortran At Work: http://mysite.verizon.net/serveall/moene.pdf