This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -ffast-math and gfortran


On Sun, Jun 04, 2006 at 12:25:51PM +0200, Toon Moene wrote:
> > 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.
> 
> 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.

If an option is available, people will use it regardless of
their level of expertise.  Look at richi's Polyhedron benchmark
page as well as others who post benchmark scores.  -ffast-math
is used and people aren't checking whether the benchmarks actually
pass.

This is going to become a Support issue as gfortran gains users.
I hope your onboard to answer all the questions.

> However, if you compile code you yourself wrote and know the limitations
> of, it can be useful.

It isn't my code or even the code written by Jack Dongarra that's
the problem.  Where is the documentation of what -ffast-math does?
Oh yeah, you found it too complicated to document.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]