Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Joachim Wesner <Joachim.Wesner@frankfurt.netsurf.de>
To: axp-list@redhat.com
Subject: Re: What takes care about optimization options ?
Date: Mon, 08 Mar 1999 20:10:49 +0100	[thread overview]
Message-ID: <36E420B9.C721AA0A@frankfurt.netsurf.de> (raw)
In-Reply-To: 36E3BECA.C7ADC805@tn.utwente.nl

Andrei A. Dergatchev wrote:
> 
> Hi,
> 
> I found a rather funny bug and I'm not sure whom
> to report. I have a package written in Fortran 77
> and I found that compiling with -O5 always causes
> FPE during run-time, while compilation of the same
> package with -g or -O doesn't. There are some
> variables which are used depending on options,
> otherwise they're 0.0. They're provided within a package
> as subroutines' parameters. It seems -O5 option does
> something wrong regarding subnormality issue as
> a program generates FPE printing variable which must
> be exactly 0.0.
> 
> My question is is it g77, gcc(egcs) or linker related ?
> 

Can you give an example of the code ?? What compiler (version)exactly do
you use ? Some high optim. levels can cause code reordering that will no
be what you want/need ! Did you check the machine code generated ??
Which math lib ?


Joachim


  reply	other threads:[~1999-03-08 19:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-08 12:12 What takes care about optimization options ? Andrei A. Dergatchev
1999-03-08 19:10 ` Joachim Wesner [this message]
1999-03-08 19:32   ` Greg Lindahl
1999-03-08 19:49     ` Andrei A. Dergatchev
1999-03-08 20:01       ` Greg Lindahl
1999-03-08 19:41   ` Andrei A. Dergatchev
1999-03-08 19:52     ` Greg Lindahl
1999-03-08 21:45       ` Andrei A. Dergatchev
1999-03-09 13:50         ` Greg Lindahl
1999-03-09 13:52         ` Johannes G.D. Hausmann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox