Your message dated Mon, 27 May 2002 22:42:06 +0200
with message-id <[EMAIL PROTECTED]>
and subject line bug report closed by upstream developer
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; 17 Mar 2001 01:53:08 +0000
>From [EMAIL PROTECTED] Fri Mar 16 19:53:08 2001
Return-path: <[EMAIL PROTECTED]>
Received: from gondor.apana.org.au [203.14.152.114] (root)
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 14e5tz-0007PN-00; Fri, 16 Mar 2001 19:53:08 -0600
Received: (from [EMAIL PROTECTED])
        by gondor.apana.org.au (8.11.1/8.11.1/Debian 8.11.0-6) id f2H1r2E27558;
        Sat, 17 Mar 2001 12:53:02 +1100
Date: Sat, 17 Mar 2001 12:53:02 +1100
Message-Id: <[EMAIL PROTECTED]>
From: <[EMAIL PROTECTED]>
Subject: gcc: weird behaviour when incrementing volatile ints
To: [EMAIL PROTECTED]
X-Mailer: bug 3.3.9
Delivered-To: [EMAIL PROTECTED]

Package: gcc
Version: 1:2.95.3-5
Severity: normal

gcc generates non-intuitive code when one tries to increment a volatile int.

extern int x;
extern volatile int y;

void f() {
        x++;
        y++;
}

gives

        .file   "a.c"
        .version        "01.01"
gcc2_compiled.:
.text
        .align 4
.globl f
        .type    f,@function
f:
        pushl %ebp
        movl %esp,%ebp
        incl x
        movl y,%eax
        incl %eax
        movl %eax,y
        leave
        ret
.Lfe1:
        .size    f,.Lfe1-f
        .ident  "GCC: (GNU) 2.95.3 20010219 (prerelease)"

The move into %eax seems pointless.  The same thing happens with 2.97.

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux gondor 2.4.2-586tsc #20 Sat Mar 3 22:23:28 EST 2001 i586 
unknown

Versions of the packages gcc depends on:
ii  cpp            2.95.3-5       The GNU C preprocessor.
ii  cpp-2.95       2.95.3-6       The GNU C preprocessor.
ii  gcc-2.95       2.95.3-6       The GNU C compiler.

---------------------------------------
Received: (at 89949-done) by bugs.debian.org; 27 May 2002 20:44:23 +0000
>From [EMAIL PROTECTED] Mon May 27 15:44:23 2002
Return-path: <[EMAIL PROTECTED]>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 17CRLr-0005hy-00; Mon, 27 May 2002 15:44:23 -0500
Received: from bolero.cs.tu-berlin.de ([EMAIL PROTECTED] [130.149.19.1])
        by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id WAA24482
        for <[EMAIL PROTECTED]>; Mon, 27 May 2002 22:42:07 +0200 (MET DST)
Received: (from [EMAIL PROTECTED])
        by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id g4RKg7a23166;
        Mon, 27 May 2002 22:42:07 +0200 (MEST)
From: Matthias Klose <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[EMAIL PROTECTED]>
Date: Mon, 27 May 2002 22:42:06 +0200
To: [EMAIL PROTECTED]
Subject: bug report closed by upstream developer
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: [EMAIL PROTECTED]

See http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3506&database=gcc


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


Reply via email to