Your message dated Sun, 22 May 2005 00:32:10 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#290438: wrong code on i486 compiling with f77 
-fno-automatic -O1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Jan 2005 02:59:00 +0000
>From [EMAIL PROTECTED] Thu Jan 13 18:58:59 2005
Return-path: <[EMAIL PROTECTED]>
Received: from postoffice01.princeton.edu (Princeton.EDU) [128.112.129.75] 
(root)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CpHfv-0008PV-00; Thu, 13 Jan 2005 18:58:59 -0800
Received: from smtpserver1.Princeton.EDU (smtpserver1.Princeton.EDU 
[128.112.129.65])
        by Princeton.EDU (8.12.9/8.12.9) with ESMTP id j0E2wvqH007460
        for <[EMAIL PROTECTED]>; Thu, 13 Jan 2005 21:58:57 -0500 (EST)
Received: from wisteria (kmccarty.student.Princeton.EDU [140.180.135.112])
        (authenticated bits=0)
        by smtpserver1.Princeton.EDU (8.12.9/8.12.9) with ESMTP id 
j0E2wtfP003886
        (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT);
        Thu, 13 Jan 2005 21:58:56 -0500 (EST)
Received: from kmccarty by wisteria with local (Exim 4.34)
        id 1CpHfr-00029R-DH; Thu, 13 Jan 2005 21:58:55 -0500
Content-Type: multipart/mixed; boundary="===============1285222724=="
MIME-Version: 1.0
From: "Kevin B. McCarty" <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: produces wrong code on i386 compiling with -fno-automatic -O1
X-Mailer: reportbug 3.5
Date: Thu, 13 Jan 2005 21:58:55 -0500
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============1285222724==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: g77-3.3
Version: 1:3.3.5-6
Severity: normal


Hi,

I have tracked down a bug report I was sent about libmathlib1 to a
compiler optimization problem in g77 on i386.  Please see the attached
file for a test case.  (Gunzip and un-tar it, cd into the resulting
directory, and run "make" on a system with g77, make, libmathlib1-dev,
libpacklib1-dev, and libkernlib1-dev packages installed.)

The test case calculates the value of the triple integral of
(sin(x)*sin(y)*sin(z))^2 with all three limits going from 1.d-8 to
pi, whose value is equal to a tiny amount less than (pi^3)/8.  (The
setup is done in test.f and the main work in radmul.f, which comes from
Cernlib source code.)  The program prints out the numerical value of the
integral, percent estimated error, number of iterations, and returned
error flag.

When the file radmul.f is compiled with g77 -O0 -fno-automatic flags, or
just with -O1 flag, the following correct output is produced:

 calling dadmul
 I=  3.87578459+-  7.11202394E-12% 495 evals error        0
  

When the flags -fno-automatic -O1 (or higher) are given, the output is
quite wrong:

 calling dadmul
 I=  42336.3332+-  2.45015127% 999999 evals error        1
  
If lines 10 and 11 of test.f are changed to set A(1) and A(2) [the lower
bounds of integration] to 0.d0 instead of 1.d-8, the output with
-fno-automatic -O1 is no longer outrageously large, but it still has a
lot of error:

 calling dadmul
 I=  3.87588078+-  0.000990792397% 18315 evals error        0
  

The above behavior is that of g77-3.3 and g77-2.95.  g77-3.4 does even
worse.  It produces the same result as g77-3.3 for the -fno-automatic -O1
case.  Furthermore, when g77-3.4 is called with only -O1 (no
-fno-automatic flag), the resulting program segfaults.  (Run the
attached testcase with "make F77=g77-3.4" to see.)

For the three arches I've tested, these problems occur only on i386, not
on powerpc nor on sparc.

You may wish to clone this report to g77-3.4 and g77-2.95.

I owe thanks to Eduardo A. Menendez Proupin for finding this bug,
tracking down which Cernlib source code file it came from, and composing
the test case.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages g77-3.3 depends on:
ii  gcc-3.3                     1:3.3.5-6    The GNU C compiler
ii  gcc-3.3-base                1:3.3.5-6    The GNU Compiler Collection (base 
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libg2c0-dev                 1:3.3.5-6    GNU Fortran 77 library development

-- no debconf information

regards,

-- 
Kevin B. McCarty <[EMAIL PROTECTED]>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/    Princeton University
GPG: public key ID 4F83C751                 Princeton, NJ 08544

--===============1285222724==
Content-Type: application/octet-stream
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test-g77-bug.tar.gz"

H4sIAI8p50EAA+1abXPbuBHO19OvwOTSsV5IGe8kM6fOyZacKJZlVVbiTD50RpFlRxO9eGQ5df99
HwB8lWXftc3dzbXcu5AEsLtY7D67AE1tZ3db/yYI/M/3N4cvfhuioEApc2eBorbNpLT3mF4wDDHN
pdLiBQY5Ey+I+o3sKdD93XayIeTF1+V0Otls//k032xz94yeZCHJ/U9C23z8N5Or5f2ief2d5zD+
0C7ee+LPlFTcxV8FWgn0M6U1e0F+Fyf+n8f/R8LIy8Mv6+XsMPHAYWf2eT5ZHU5nm9Vi/jm5+5xS
2WSsSeXh3WZ6uJxsv5jhm9nq8CqBzsnLitX40+f7+WLrz1d/TTqm6+Vysroii/lqlnR+13nrlTp5
1bty9/76Bg9ukvu7zeF8NV3cX82s0O18sd42v7zEoCASTMH3tYTwSoVYunh/N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vdb0OF779nk6+z6/li9p3neP77L2VcZd//pdL2+6/i5fff
34NO+u03F8hh/3q19if32/Vysp1PKydBgE6DC9EUlcpksXhd+eHnV3irPO3WyHQxm6xybQMiaq8P
9sowNpt+Wcc38vJyvv1C/HO6Mw25Xkxu7l6/BJ/fPLRadkWY5cmzPDxm+SWtrFIxt+b6tTWveV35
4VUVS6wR/8aZNSX+mrz6mbz6qVJxn62o4U5+EJHy42Yc9pwg+xWCbJ/gw17BffzWU/Fa1iS1t/ID
AkZe/Z34i/hDHJ5uJ9Ov7umr+2bn9DglbEcJ+0+UPOwoefh3lVg4AV+bJSKZAxOLIVWHwj86T/5X
qVD/XXJ89zl+qf5rmv/9jzL1X0hV1v/fg+LD0e1mfbOZLG3CXdksTo5N8+XtYj6db8lqvZolnZvZ
ZFEPSbsqzDd7Yb/Z4z0IVPNu5963yWK98TazxWyz8Wa3d97U8GxTlavt7Ga2cccu91MO+0uP5Xx1
u/WWk4fblHX2sEWtmCzItahM476r9b35WcrtZjZ1v73AWMJ/O29dTabru6rPmlfZV3NYilcZdPlh
1sMf9Yhai0Is6TgyQrfzrMmLTZFvTuMZaNbBdztEsQNrbjmvpcu9vbM2JX++I9YlLS3TtnFOizmM
VVKXbFvXoiq8aXrY/cdmvp1V6169Rg6m2L3nqxvi4nqQHp3Nj4Dcj3Gq18IT9lc4uRDYwMW/wSkE
1IXNqWnGf1PfNzE56LUOYtGDhn+QyB/85SDWcUBmGL47MA+bzXqT6iQHDhZp/MhsdVXZQd/1/Wq6
dfGvDq7mS++h9ixoH+HmwaBy4n32po+QCXVJ36T1UM3eiD6jlb0ETVtGR9K6Fq3q3XxVndTq5vbZ
3aa1Wr3OM9u395tVGm+s6o+uACWVVFJJJZVUUkkllVRSSSWVVFJJJZVUUkkllVRSSSWVVFJJJZVU
UkkllVTSn5X+BRDST7cAUAAA
--===============1285222724==--

---------------------------------------
Received: (at 290438-done) by bugs.debian.org; 21 May 2005 22:32:41 +0000
>From [EMAIL PROTECTED] Sat May 21 15:32:41 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp08.web.de [217.72.192.226] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DZcWP-0003Ja-00; Sat, 21 May 2005 15:32:41 -0700
Received: from [82.82.220.210] (helo=juist)
        by smtp08.web.de with asmtp (TLSv1:DES-CBC3-SHA:168)
        (WEB.DE 4.105 #291)
        id 1DZcVu-0001Tj-00
        for [EMAIL PROTECTED]; Sun, 22 May 2005 00:32:10 +0200
Received: from falk by juist with local (Exim 4.50)
        id 1DZcVu-0003Da-Fv
        for [EMAIL PROTECTED]; Sun, 22 May 2005 00:32:10 +0200
To: [EMAIL PROTECTED]
Subject: Bug#290438: wrong code on i486 compiling with f77 -fno-automatic
 -O1
From: Falk Hueffner <[EMAIL PROTECTED]>
X-Face: "iUeUu$b*W_"w?tV83Y3*r:`rh&dRv}$YnZ3,LVeCZSYVuf[Gpo*5%_=/\_!gc_,SS}[~xZ
 wY77I-M)xHIx:2f56g%/`SOw"Dx%4Xq0&f\Tj~>|QR|vGlU}TBYhiG(K:2<T^
Date: Sun, 22 May 2005 00:32:10 +0200
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (cilantro, linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Hi,

this seems to be the well-known exces precision problem of the i386,
so closing.

-- 
        Falk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to