Your message dated Fri, 18 Apr 2003 09:55:02 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#178386: gcc-3.2: Warns wrong about unreachable code
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; 25 Jan 2003 20:30:03 +0000
>From [EMAIL PROTECTED] Sat Jan 25 14:30:02 2003
Return-path: <[EMAIL PROTECTED]>
Received: from ip68-100-128-98.nv.nv.cox.net (mx02.derobert.net) 
[68.100.128.98] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 18cWwE-0005E4-00; Sat, 25 Jan 2003 14:30:02 -0600
Received: from bohr.local ([192.168.65.5])
        by mx02.derobert.net with esmtp (Exim 3.22 #1 (Red Hat Linux))
        id 18cWwC-0004jA-00; Sat, 25 Jan 2003 15:30:00 -0500
Received: from anthony by bohr.local with local (Exim 3.36 #1 (Debian))
        id 18cWw8-0005k9-00; Sat, 25 Jan 2003 15:30:00 -0500
From: Anthony DeRobertis <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: gcc-3.2: Warns wrong about unreachable code
X-Mailer: reportbug 1.50
Date: Sat, 25 Jan 2003 15:29:56 -0500
Message-Id: <[EMAIL PROTECTED]>
Sender: Anthony DeRobertis <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-2.1 required=5.0
        tests=PGP_SIGNATURE,SPAM_PHRASE_00_01,SUPERLONG_LINE
        version=2.41
X-Spam-Level: 

Package: gcc-3.2
Version: 1:3.2.1-0pre3
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

gcc-3.2 -Wall -pedantic -ansi -Werror -march=i486 -mcpu=i486 -Os        \
       -Wunreachable-code -g -o salt-generator salt-generator.c
cc1: warnings being treated as errors
salt-generator.c: In function `main':
salt-generator.c:47: warning: will never be executed
make: *** [salt-generator] Error 1

Line 47 is the "do {" line below. Lines around it are:
                for (x = 0; x < SALT_SIZE; ++x) {
                        do {
                                errno = 0;
                                read_cnt = read(rand, &buf, 1);
                        } while (read_cnt == -1 && (errno == EINTR || errno == 
EAGAIN));
SALT_SIZE is 16.

Fully pre-processed source comming up as soon as I get the bug number to
mail it to.

[EMAIL PROTECTED]:salt-generator$ gcc-3.2 -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.1/specs
Configured with: /mnt/data/gcc-3.1/gcc-3.2-3.2.1ds2/src/configure -v 
--enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib 
--enable-nls --without-included-gettext --enable-java-gc=boehm --enable-objc-gc 
i386-linux
Thread model: posix
gcc version 3.2.1 20020924 (Debian prerelease)


- -- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux bohr 2.4.16 #2 SMP Wed Nov 28 05:25:00 EST 2001 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages gcc-3.2 depends on:
ii  binutils                  2.13.90.0.10-1 The GNU assembler, linker and bina
ii  cpp-3.2                   1:3.2.1-0pre3  The GNU C preprocessor.
ii  gcc-3.2-base              1:3.2.1-0pre3  The GNU Compiler Collection (base 
ii  libc6                     2.2.5-14.3     GNU C Library: Shared libraries an
ii  libgcc1                   1:3.2.1-0pre3  GCC support library.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+MvPI+z+IwlXqWf4RAibVAJ90cvYkQXB/M+DB+Ox83IQ0YAO/MwCeMUJk
WFz1DX16nbCTXu8SbFI3KUI=
=RGjZ
-----END PGP SIGNATURE-----

---------------------------------------
Received: (at 178386-done) by bugs.debian.org; 18 Apr 2003 07:59:52 +0000
>From [EMAIL PROTECTED] Fri Apr 18 02:59:51 2003
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 196Qml-00051X-00; Fri, 18 Apr 2003 02:59:51 -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 JAA29884;
        Fri, 18 Apr 2003 09:55:02 +0200 (MET DST)
Received: (from [EMAIL PROTECTED])
        by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id h3I7t2926286;
        Fri, 18 Apr 2003 09:55:02 +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: Fri, 18 Apr 2003 09:55:02 +0200
To: Anthony DeRobertis <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#178386: gcc-3.2: Warns wrong about unreachable code
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-1.3 required=4.0
        tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01
        version=2.44
X-Spam-Level: 

Anthony DeRobertis writes:
> Package: gcc-3.2
> Version: 1:3.2.1-0pre3
> Severity: normal
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> gcc-3.2 -Wall -pedantic -ansi -Werror -march=i486 -mcpu=i486 -Os      \
>        -Wunreachable-code -g -o salt-generator salt-generator.c
> cc1: warnings being treated as errors
> salt-generator.c: In function `main':
> salt-generator.c:47: warning: will never be executed
> make: *** [salt-generator] Error 1
> 
> Line 47 is the "do {" line below. Lines around it are:
>               for (x = 0; x < SALT_SIZE; ++x) {
>                       do {
>                               errno = 0;
>                               read_cnt = read(rand, &buf, 1);
>                       } while (read_cnt == -1 && (errno == EINTR || errno == 
> EAGAIN));
> SALT_SIZE is 16.

Fixed in gcc-3.3 and current gcc-3.2 (3.2.3-0pre9).


Reply via email to