Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
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 22:45:51 +0100	[thread overview]
Message-ID: <36E4450F.9E2A2B9A@tn.utwente.nl> (raw)
In-Reply-To: 199903081952.OAA15523@adder.cs.Virginia.EDU

Hi,


> > I guess that reordering&real 0 combo produces my FPE,
> > that's why I'm sure it's a bug.
>
> You actually can't be sure. A program which is not standard-conforming
> might not generate the FPE until high optimization. For example, if
> you have aliased arguments (illegal), this might not generate the
> wrong answer until high optimization levels.

I've just tried a set of different options to compile with and I finally
got as granted that compilation with any optimization setting
higher than O1 gives me FPE at the same place :-(

> > With -lm I found that it doesn't matter whether I use -mieee
> > or not. -lffm gives the same. Haven't tried cmpl yet.
>
> This rules out my earlier theory...
>
> With -mieee you should be able to get a stack trace out of gdb.
> Any luck with that?

Yeah, I can see a list ...->fio->wrt_F-><handler>->sig but what
I can do with that if higher optimization decided to touch my lovely
variable wavelen=0.0 given as subroutine parameter and put
a denorm instead ???

>
> -- g
>

Regards,

Andrei


  reply	other threads:[~1999-03-08 21:53 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
1999-03-08 19:52     ` Greg Lindahl
1999-03-08 21:45       ` Andrei A. Dergatchev [this message]
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