This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: fortran optimization errors
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Sebastian Sandersius <sebastian dot sandersius at asu dot edu>
- Cc: fortran at gcc dot gnu dot org
- Date: Thu, 21 Jun 2007 19:56:09 -0700
- Subject: Re: fortran optimization errors
- References: <e45b128a0706211932i45349794w42e3b46f3d0579f5@mail.gmail.com>
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