From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32124 invoked from network); 8 Mar 1999 21:53:09 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Mar 1999 21:53:09 -0000 Received: from utep.el.utwente.nl (utep.el.utwente.nl [130.89.30.10]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA21544 for ; Mon, 8 Mar 1999 16:47:06 -0500 Received: from tn.utwente.nl (uttnb55.tn.utwente.nl [130.89.74.55]) by utep.el.utwente.nl (8.9.1/8.9.1) with ESMTP id WAA17875 for ; Mon, 8 Mar 1999 22:47:14 +0100 (MET) Message-ID: <36E4450F.9E2A2B9A@tn.utwente.nl> Date: Mon, 08 Mar 1999 22:45:51 +0100 From: "Andrei A. Dergatchev" X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en,ru MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: What takes care about optimization options ? References: <199903081952.OAA15523@adder.cs.Virginia.EDU> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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->->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