fortran optimization errors

Steve Kargl sgk@troutmask.apl.washington.edu
Fri Jun 22 02:57:00 GMT 2007


On Thu, Jun 21, 2007 at 07:32:59PM -0700, Sebastian Sandersius wrote:
> 
>     I have found errors in your fortran 95 compiler for linux.  I get
> different numerical output when I compile my program with -O3 then if
> I compile with -g - this shouldn't happed.
> 

Clearly, you have an unstable numerical algorithm.
Try adding -ffloat-store to your options.

-- 
Steve



More information about the Fortran mailing list