Re: -f[no-]finite-math-only

2009-07-02 Thread Richard Guenther
On Thu, Jul 2, 2009 at 12:02 PM, Daniel Franke wrote: > > Dear all, > > some Fortran77 code I inherited gives wrong results if compiled > with '-ffast-math', especially with '-ffinite-math-only' enabled > ('-ffast-math -fno-finite-math-only' seems to work). > > As '-ffinite-math-only' does "Allow o

-f[no-]finite-math-only

2009-07-02 Thread Daniel Franke
Dear all, some Fortran77 code I inherited gives wrong results if compiled with '-ffast-math', especially with '-ffinite-math-only' enabled ('-ffast-math -fno-finite-math-only' seems to work). As '-ffinite-math-only' does "Allow optimizations for floating-point arithmetic that assume that argu