[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#241255: marked as done (gcc-3.3: miscompiles loop with bitfield counter)

Your message dated Fri, 02 Apr 2004 04:17:11 -0500
with message-id <E1B9KnX-0006VJ-00@newraff.debian.org>
and subject line Bug#241255: fixed in gcc-3.3 1:3.3.3ds6-6
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 2004 15:14:20 +0000
>From ossi@kde.org Wed Mar 31 07:14:20 2004
Return-path: <ossi@kde.org>
Received: from ktown.kde.org [] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1B8hQ3-0007Xl-00; Wed, 31 Mar 2004 07:14:20 -0800
Received: (qmail 50 invoked from network); 31 Mar 2004 15:21:03 -0000
Received: from localhost (
  by localhost with SMTP; 31 Mar 2004 15:21:03 -0000
Received: from ossi by ugly.local with local (masqmail 0.2.20) id
 1B8hQ1-2Su-00; Wed, 31 Mar 2004 17:14:17 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Oswald Buddenhagen <ossi@kde.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gcc-3.3: miscompiles loop with bitfield counter
X-Mailer: reportbug 2.56
Date: Wed, 31 Mar 2004 17:14:17 +0200
Message-ID: <1B8hQ1-2Su-00@ugly.local>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25

Package: gcc-3.3
Version: 1:3.3.3-5
Severity: normal

this is new in gcc/g++ 3.3.3-5; it worked in 3.3.3-3 (i think, not
sure about the -3 part).

the following minimal test program triggers an endless loop (it should
exit immediately):

#include <stdio.h>

static struct {
   int count:4;
} test;

int main()
  while (test.count--)
    puts("the impossible happened");

  return 0;

if count is no bitfield or if it is an unsigned bitfield, everything
seems fine.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=C, LC_CTYPE=de_DE

Versions of packages gcc-3.3 depends on:
ii  binutils          The GNU assembler, linker and bina
ii  cpp-3.3                    1:3.3.3-5     The GNU C preprocessor
ii  gcc-3.3-base               1:3.3.3-5     The GNU Compiler Collection (base 
ii  libc6                      2.3.2.ds1-11  GNU C Library: Shared libraries an
ii  libgcc1                    1:3.3.3-5     GCC support library

-- no debconf information

Received: (at 241255-close) by bugs.debian.org; 2 Apr 2004 09:23:14 +0000
>From katie@ftp-master.debian.org Fri Apr 02 01:23:14 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1B9KtO-0005Ih-00; Fri, 02 Apr 2004 01:23:14 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1B9KnX-0006VJ-00; Fri, 02 Apr 2004 04:17:11 -0500
From: Matthias Klose <doko@debian.org>
To: 241255-close@bugs.debian.org
X-Katie: $Revision: 1.46 $
Subject: Bug#241255: fixed in gcc-3.3 1:3.3.3ds6-6
Message-Id: <E1B9KnX-0006VJ-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Fri, 02 Apr 2004 04:17:11 -0500
Delivered-To: 241255-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25

Source: gcc-3.3
Source-Version: 1:3.3.3ds6-6

We believe that the bug you reported is fixed in the latest version of
gcc-3.3, which is due to be installed in the Debian FTP archive:

  to pool/main/g/gcc-3.3/cpp-3.3-doc_3.3.3-6_all.deb
  to pool/main/g/gcc-3.3/cpp-3.3_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/fastjar_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/fixincludes_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/g++-3.3_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/g77-3.3-doc_3.3.3-6_all.deb
  to pool/main/g/gcc-3.3/g77-3.3_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/gcc-3.3-base_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/gcc-3.3-doc_3.3.3-6_all.deb
  to pool/main/g/gcc-3.3/gcc-3.3_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/gcc-3.3_3.3.3ds6-6.diff.gz
  to pool/main/g/gcc-3.3/gcc-3.3_3.3.3ds6-6.dsc
  to pool/main/g/gcc-3.3/gcj-3.3_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/gij-3.3_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/gnat-3.3-doc_3.3.3-6_all.deb
  to pool/main/g/gcc-3.3/gnat-3.3_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/gobjc-3.3_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/gpc-2.1-3.3-doc_3.3.3.20030830-6_all.deb
  to pool/main/g/gcc-3.3/gpc-2.1-3.3_3.3.3.20030830-6_i386.deb
  to pool/main/g/gcc-3.3/libffi2-dev_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/libffi2_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/libg2c0_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/libgcc1_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/libgcj-common_3.3.3-6_all.deb
  to pool/main/g/gcc-3.3/libgcj4-dev_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/libgcj4_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/libobjc1_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/libstdc++5-3.3-dbg_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/libstdc++5-3.3-dev_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/libstdc++5-3.3-doc_3.3.3-6_all.deb
  to pool/main/g/gcc-3.3/libstdc++5-3.3-pic_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/libstdc++5_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/protoize_3.3.3-6_i386.deb
  to pool/main/g/gcc-3.3/treelang-3.3_3.3.3-6_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 241255@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Matthias Klose <doko@debian.org> (supplier of updated gcc-3.3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Thu,  1 Apr 2004 23:51:54 +0200
Source: gcc-3.3
Binary: gcc-3.3-nof gcc-3.3 libobjc1 libgcc1 lib64g2c0 libstdc++5-3.3-doc libgcj4 gpc-2.1-3.3-doc libstdc++5 cpp-3.3-doc protoize gcc-3.3-hppa64 cpp-3.3 libstdc++5-3.3-dbg g77-3.3-doc gpc-2.1-3.3 g77-3.3 libgcj4-dev gcc-3.3-doc libgnat-3.15 lib64objc1 lib64ffi2 libstdc++5-3.3-dev libffi2-dev gcj-3.3 libgcj-common gobjc-3.3 lib64stdc++5 gcc-3.3-soft-float lib64gcj4 treelang-3.3 libg2c0-dev lib64gcc1 fastjar lib64gnat3.15 fixincludes libg2c0 gij-3.3 libstdc++5-3.3-pic gcc-3.3-base g++-3.3 gnat-3.3 libffi2 gnat-3.3-doc
Architecture: source i386 all
Version: 1:3.3.3ds6-6
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
 cpp-3.3    - The GNU C preprocessor
 cpp-3.3-doc - Documentation for the GNU C preprocessor (cpp)
 fastjar    - Jar creation utility
 fixincludes - Fix non-ANSI header files
 g++-3.3    - The GNU C++ compiler
 g77-3.3    - The GNU Fortran 77 compiler
 g77-3.3-doc - Documentation for the GNU Fortran compiler (g77)
 gcc-3.3    - The GNU C compiler
 gcc-3.3-base - The GNU Compiler Collection (base package)
 gcc-3.3-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
 gcj-3.3    - The GNU compiler for Java(TM)
 gij-3.3    - The GNU Java bytecode interpreter
 gnat-3.3   - The GNU Ada compiler
 gnat-3.3-doc - Documentation for the GNU Ada compiler (gnat)
 gobjc-3.3  - The GNU Objective-C compiler
 gpc-2.1-3.3 - The GNU Pascal compiler
 gpc-2.1-3.3-doc - Documentation for the GNU Pascal compiler (gpc)
 libffi2    - Foreign Function Interface library runtime
 libffi2-dev - Foreign Function Interface library (development files)
 libg2c0    - Runtime library for GNU Fortran 77 applications
 libgcc1    - GCC support library
 libgcj-common - Java runtime library (common files)
 libgcj4    - Java runtime library for use with gcj
 libgcj4-dev - Java development headers and static library for use with gcj
 libobjc1   - Runtime library for GNU Objective-C applications
 libstdc++5 - The GNU Standard C++ Library v3
 libstdc++5-3.3-dbg - The GNU Standard C++ Library v3 (debugging files)
 libstdc++5-3.3-dev - The GNU Standard C++ Library v3 (development files)
 libstdc++5-3.3-doc - The GNU Standard C++ Library v3 (documentation files)
 libstdc++5-3.3-pic - The GNU Standard C++ Library v3 (shared library subset kit)
 protoize   - Create/remove ANSI prototypes from C code
 treelang-3.3 - The GNU Treelang compiler
Closes: 238621 241255
 gcc-3.3 (1:3.3.3ds6-6) unstable; urgency=medium
   * Update to gcc-3_3-branch CVS 20040401.
     - Fixed ICE in emit_move_insn_1 on legal code (closed: #223215).
     - Fix PR 14755, miscompilation of loops with bitfield counter.
       Closes: #241255.
     - Fix PR 16040, crash in function initializing const data with
       reinterpret_cast-ed pointer-to-member function crashes (closes: #238621).
     - Remove patches integrated upstream.
   * Reenable build of gpidump on powerpc and s390.
 181916c4b92f1a6faa9541d13529da04 2332 devel standard gcc-3.3_3.3.3ds6-6.dsc
 bf50d13065c5369b4ff324685f06f627 2350783 devel standard gcc-3.3_3.3.3ds6-6.diff.gz
 14ee554df0a20950e8eb2a16f00df203 82928 doc optional cpp-3.3-doc_3.3.3-6_all.deb
 01aacab843e961c69dac0e8765adeab4 1170 libs optional libgcj-common_3.3.3-6_all.deb
 25583bf6820ed9b0734fc934c55d6af1 3172084 doc optional libstdc++5-3.3-doc_3.3.3-6_all.deb
 10f164ef038f67b7f430b133333bc235 268416 doc optional g77-3.3-doc_3.3.3-6_all.deb
 69e32ceab3ca9fa10f85df78aa609a13 328624 doc optional gnat-3.3-doc_3.3.3-6_all.deb
 2199117d35c63f5b99af1961c640eb8b 795138 doc optional gpc-2.1-3.3-doc_3.3.3.20030830-6_all.deb
 3861e542454bde6541284d5b0383b01b 598902 doc optional gcc-3.3-doc_3.3.3-6_all.deb
 70d11cdc5568e405e4444c0a7d0d4cea 145040 devel required gcc-3.3-base_3.3.3-6_i386.deb
 793dc123af95d9b898c7dc50fba085aa 74630 libs required libgcc1_3.3.3-6_i386.deb
 b59be5701ec77ce6eed73aeaf87f7405 1390610 interpreters standard cpp-3.3_3.3.3-6_i386.deb
 337cea197bdac3e53af4775bf9f4e011 23320 devel optional protoize_3.3.3-6_i386.deb
 a839d92cc83b8c647e2a9d6d5d316876 77788 devel optional fixincludes_3.3.3-6_i386.deb
 a01f3a057da365133a254b60e0c89cd8 1466482 devel optional gobjc-3.3_3.3.3-6_i386.deb
 59b208fb209b57bd1cdd47ac40801e53 134176 libs optional libobjc1_3.3.3-6_i386.deb
 f181f04f34d3c4f38d392d780e1ab6f5 13030 devel optional gij-3.3_3.3.3-6_i386.deb
 0be55bccbd8c62ad0b638709500f1b44 3982668 libs optional libgcj4_3.3.3-6_i386.deb
 05cf26a280feffbe21eed32913f6d8ba 1693740 devel optional gcj-3.3_3.3.3-6_i386.deb
 c0e876d3058f4f5fe70094232a2afdfc 4750214 libdevel optional libgcj4-dev_3.3.3-6_i386.deb
 f8f0746df3912ce8f8eb7dcf5164cd1f 114606 devel extra fastjar_3.3.3-6_i386.deb
 58536d07d46df273d7d077d5b1be1191 69648 libs optional libffi2_3.3.3-6_i386.deb
 ed8ea315e6218d423aa56341b0fa4f4d 11068 libdevel optional libffi2-dev_3.3.3-6_i386.deb
 62f026cf458f77e3a3c761b5b4de252e 1775464 devel standard g++-3.3_3.3.3-6_i386.deb
 cc5308e557c9fddd9a312bbf98ca690d 288904 base required libstdc++5_3.3.3-6_i386.deb
 f5762817abb2c4e2b35a0628bf51690e 772616 libdevel standard libstdc++5-3.3-dev_3.3.3-6_i386.deb
 f62069095586620928893a4a2c0680bb 325116 libdevel extra libstdc++5-3.3-pic_3.3.3-6_i386.deb
 0f8113de36f73cd9b462a427541d663e 4866880 libdevel extra libstdc++5-3.3-dbg_3.3.3-6_i386.deb
 f24a68a1772e6d52ba996428c43280b1 50466 libs optional libg2c0_3.3.3-6_i386.deb
 172ca5d5b615236d57b46d712637edd2 1614082 devel optional g77-3.3_3.3.3-6_i386.deb
 a58b0162ccf2c6bdd2364b39221a13f6 6308216 devel optional gnat-3.3_3.3.3-6_i386.deb
 4bcf8b12d5a174762333ebbf8720760a 1288886 devel optional treelang-3.3_3.3.3-6_i386.deb
 fe3f2b9b90d1179a0150527465895984 1929968 devel optional gpc-2.1-3.3_3.3.3.20030830-6_i386.deb
 35de7c5cc5e55b07f61113dfe18575ef 1554396 devel standard gcc-3.3_3.3.3-6_i386.deb

Version: GnuPG v1.2.4 (GNU/Linux)


Reply to: