Your message dated Thu, 1 May 2003 07:53:10 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#186937: [hppa, PR target/10271] Floating point args don't get reloaded across function calls at -O2 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; 31 Mar 2003 05:11:11 +0000 >From [EMAIL PROTECTED] Sun Mar 30 23:11:10 2003 Return-path: <[EMAIL PROTECTED]> Received: from gandalf.tausq.org (pippin.tausq.org) [64.81.244.94] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 18zrZb-0002Up-00; Sun, 30 Mar 2003 23:11:07 -0600 Received: by pippin.tausq.org (Postfix, from userid 1000) id CBB75CD295; Sun, 30 Mar 2003 21:07:45 -0800 (PST) Date: Sun, 30 Mar 2003 21:07:45 -0800 From: Randolph Chung <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [hppa, PR target/10271] Floating point args don't get reloaded across function calls at -O2 Message-ID: <[EMAIL PROTECTED]> Reply-To: Randolph Chung <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP: for PGP key, see http://www.tausq.org/pgp.txt X-GPG: for GPG key, see http://www.tausq.org/gpg.txt User-Agent: Mutt/1.5.3i Delivered-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=-1.9 required=4.0 tests=HAS_PACKAGE,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT version=2.44 X-Spam-Level: Package: gcc-3.2 Severity: important [Debian note: this may be related to #185184 and #105816] When compiling the bug.c code below with -O2, the floating point argument to the fprintf does not get reloaded for the second fprintf() call, so the second call prints junk. At -O1 the arguments (r23/r24) are properly reloaded. Compile with gcc -O2 -o bug bug.c -lm $ ./bug nan 1.422968e-309 With -O1 $ ./bug nan nan ------8< bug.c 8<-------- #include <stdio.h> #include <math.h> void doprint(double dval) { fprintf(stdout, "%e\n", dval); fprintf(stdout, "%e\n", dval); } int main(int argc, char **argv) { doprint(log(-8)); /* nan */ return 0; } --------------------------------------- Received: (at 186937-done) by bugs.debian.org; 1 May 2003 16:25:40 +0000 >From [EMAIL PROTECTED] Thu May 01 11:25:39 2003 Return-path: <[EMAIL PROTECTED]> Received: from gandalf.tausq.org (pippin.tausq.org) [64.81.244.94] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 19BGsM-0002Ct-00; Thu, 01 May 2003 11:25:39 -0500 Received: by pippin.tausq.org (Postfix, from userid 1000) id 6D32DCD295; Thu, 1 May 2003 07:53:10 -0700 (PDT) Date: Thu, 1 May 2003 07:53:10 -0700 From: Randolph Chung <[EMAIL PROTECTED]> To: Matthias Klose <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: Bug#186937: [hppa, PR target/10271] Floating point args don't get reloaded across function calls at -O2 Message-ID: <[EMAIL PROTECTED]> Reply-To: Randolph Chung <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[EMAIL PROTECTED]> X-PGP: for PGP key, see http://www.tausq.org/pgp.txt X-GPG: for GPG key, see http://www.tausq.org/gpg.txt User-Agent: Mutt/1.5.3i Delivered-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=-14.1 required=4.0 tests=BAYES_01,IN_REP_TO,REFERENCES,USER_AGENT_MUTT autolearn=ham version=2.53-bugs.debian.org_2003_04_23 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_04_23 (1.174.2.15-2003-03-30-exp) In reference to a message from Matthias Klose, dated May 01: > retitle 186937 [fixed in 3.3] [hppa, PR target/10271] Floating point args > don't get reloaded across function calls at -O2 > forwarded 186937 [EMAIL PROTECTED] > thanks actually this is fixed in 3.2.3 release. Closing this bug. randolph