From: "Andrei A. Dergatchev" <A.Dergatchev@tn.utwente.nl>
To: axp-list@redhat.com
Subject: Re: What takes care about optimization options ?
Date: Mon, 08 Mar 1999 20:41:47 +0100 [thread overview]
Message-ID: <36E427FB.A623F58B@tn.utwente.nl> (raw)
In-Reply-To: 36E420B9.C721AA0A@frankfurt.netsurf.de
Hi,
Thanks for your response.
[snip]
> Can you give an example of the code ?? What compiler (version)exactly do
> you use ?
g77 -v:
Reading specs from /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.90.29/specs
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
> Some high optim. levels can cause code reordering that will no
> be what you want/need !
In this case I'd prefer to be able to save my debugging time :-)
A couple of hours only to find out that -O5 is responsible :-(
Compiling the same code with -O makes my packages run
happily.
I guess that reordering&real 0 combo produces my FPE,
that's why I'm sure it's a bug.
> Did you check the machine code generated ??
Not yet, I suppose someone working with the subj can do it
more efficiently ;-)
> Which math lib ?
With -lm I found that it doesn't matter whether I use -mieee
or not. -lffm gives the same. Haven't tried cmpl yet.
>
> Joachim
>
I can put a whole package - 5 *.f files (~100K compressed) - on
my ftp-site if anyone is interested.
Regards,
Andrei
next prev parent reply other threads:[~1999-03-08 19:49 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
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 [this message]
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