From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18628 invoked from network); 8 Mar 1999 19:49:01 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Mar 1999 19:49:01 -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 OAA12908 for ; Mon, 8 Mar 1999 14:43:00 -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 UAA15210 for ; Mon, 8 Mar 1999 20:43:09 +0100 (MET) Message-ID: <36E427FB.A623F58B@tn.utwente.nl> Date: Mon, 08 Mar 1999 20:41:47 +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: <36E3BECA.C7ADC805@tn.utwente.nl> <36E420B9.C721AA0A@frankfurt.netsurf.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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