From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 23613 invoked from network); 8 Mar 1999 12:20:05 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Mar 1999 12:20:05 -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 HAA19089 for ; Mon, 8 Mar 1999 07:14:13 -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 NAA22117 for ; Mon, 8 Mar 1999 13:14:21 +0100 (MET) Message-ID: <36E3BECA.C7ADC805@tn.utwente.nl> Date: Mon, 08 Mar 1999 13:12:58 +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: What takes care about optimization options ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 ? Rgds, Andrei