Your message dated Sat, 21 Jul 2001 13:18:36 +0200
with message-id <[EMAIL PROTECTED]>
and subject line [EMAIL PROTECTED]: Bug#105223: GCC failed to compile this 
programme]
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.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Jul 2001 11:03:41 +0000
>From [EMAIL PROTECTED] Sat Jul 14 06:03:41 2001
Return-path: <[EMAIL PROTECTED]>
Received: from smtp-rt-12.wanadoo.fr (tamaris.wanadoo.fr) 
[::ffff:193.252.19.60] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 15LNCx-0001y0-00; Sat, 14 Jul 2001 06:03:35 -0500
Received: from amyris.wanadoo.fr (193.252.19.150) by tamaris.wanadoo.fr; 14 Jul 
2001 13:03:30 +0200
Received: from fridu (193.248.134.243) by amyris.wanadoo.fr; 14 Jul 2001 
13:03:30 +0200
Received: from loic by fridu with local (Exim 3.12 #1 (Debian))
        id 15LNBM-0000XG-00; Sat, 14 Jul 2001 13:01:56 +0200
From: loic <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: GCC failed to compile this programme
X-Reportbug-Version: 0.54.1
X-Mailer: reportbug 0.54.1
Date: Sat, 14 Jul 2001 13:01:56 +0200
Message-Id: <[EMAIL PROTECTED]>
Sender: Loic Le Guyader <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]

Package: base
Version: N/A; reported 2001-07-14
Severity: important

The programme is:
#include<stdio.h>

void retenue_f(unsigned long a, unsigned long b, unsigned long
               c) 
{
    unsigned long f;
    unsigned long long tmp;

    printf("%lu, %lu, %lu\n", a, b, c);
    
    tmp = c+b;
    f = tmp%10;
    tmp = (unsigned long long)f + a;
    while(tmp >= 10)
            ;
}

int main(void)
{

    unsigned long r=1, s=2, t=3;
    
    retenue_f(r, s, t);
    return 0;
}
--------------------------
When you compile it with gcc -Wall -O2 -o bug bug.c and then when you
execute it, you have 1, 0, 2 displayed instead of 1, 2, 3. That mean
the b argument of the function retenue_f is 0 instead of 2.
I can't reduce the programme more to obtain the bug, so all the ligne
were required. Note that the -O2 flag is also required.
I've tell some pepole to try this programme and they obtain the bug
too. Some of them use woody.

PS:please excuse my bad english speaking cause I'm french man.

-- System Information
Debian Release: 2.2
Architecture: i386
Kernel: Linux fridu 2.2.18pre21 #4 Fri Mar 30 17:55:41 CEST 2001 i686


---------------------------------------
Received: (at 105223-done) by bugs.debian.org; 21 Jul 2001 11:22:34 +0000
>From [EMAIL PROTECTED] Sat Jul 21 06:22:34 2001
Return-path: <[EMAIL PROTECTED]>
Received: from mail.cs.tu-berlin.de [::ffff:130.149.17.13] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 15Nuq9-0002Hc-00; Sat, 21 Jul 2001 06:22:34 -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 NAA26199
        for <[EMAIL PROTECTED]>; Sat, 21 Jul 2001 13:18:36 +0200 (MET DST)
Received: (from [EMAIL PROTECTED])
        by bolero.cs.tu-berlin.de (8.10.2+Sun/8.9.3) id f6LBIa516901;
        Sat, 21 Jul 2001 13:18:36 +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: Sat, 21 Jul 2001 13:18:36 +0200
To: [EMAIL PROTECTED]
Subject: [EMAIL PROTECTED]: Bug#105223: GCC failed to compile this programme]
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid
Delivered-To: [EMAIL PROTECTED]

Anthony Towns writes:
 > reassign 105223 gcc
 > thanks
 > -- System Information
 > Debian Release: 2.2
 > Architecture: i386
 > Kernel: Linux fridu 2.2.18pre21 #4 Fri Mar 30 17:55:41 CEST 2001 i686

this was a bug in gcc-2.95.2, which is fixed in Debian's current
unstable gcc packages.


Reply via email to