Report forwarded to debian-bugs-dist@lists.debian.org, Debian GCC maintainers <gcc@packages.debian.org>:
Bug#85535; Package gcc.   debian-bugs-dist@lists.debian.orgDebian GCC maintainers  Subject: Bug#85535: gcc: builtin memcmp() could be optimised Reply-To: , 85535@bugs.debian.org Resent-From: Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Debian GCC maintainers Resent-Date: Sat, 10 Feb 2001 23:48:01 GMT Resent-Message-ID: Resent-Sender: owner@bugs.debian.org X-Debian-PR-Message: report 85535 X-Debian-PR-Package: gcc X-Debian-PR-Keywords: X-Loop: owner@bugs.debian.org Received: via spool by bugs@bugs.debian.org id=B.98184805632044 (code B ref -1); Sat, 10 Feb 2001 23:48:01 GMT Date: Sun, 11 Feb 2001 10:34:08 +1100 Message-Id: <200102102334.f1ANY8802784@gondor.apana.org.au> From: To: submit@bugs.debian.org X-Mailer: bug 3.3.7 Delivered-To: submit@bugs.debian.org Package: gcc Version: 1:2.95.2-20 Severity: wishlist If I did a memcmp() on two 32-bit objects and used the result value as a boolean, then memcmp() should not go to the trouble of determining the order of those two objects. It should simply determine whether they're equal or not. This can be generalised to objects of any size. For example, the code int main() { return !memcmp("abcd", "efgh", 4); } produces the assembly (-S -g -O2), movl $.LC1,%esi movl $.LC0,%edi movl $4,%ecx cld testb $0,%al repz cmpsb sete %al which is a waste because it could've simply loaded the two objects into registers and compared them. The same is true on other architectures as well. I have reproduced this problem with gcc 2.95.3. -- System Information Debian Release: testing/unstable Kernel Version: Linux gondor 2.2.17 #1 Mon Sep 11 22:22:16 EST 2000 i586 unknown Versions of the packages gcc depends on: ii binutils 2.10.1.0.2-1 The GNU assembler, linker and binary utiliti ii cpp 2.95.2-20 The GNU C preprocessor. ii libc6 2.2.1-1 GNU C Library: Shared libraries and Timezone   Acknowledgement sent to <herbert@gondor.apana.org.au>:
New Bug report received and forwarded. Copy sent to Debian GCC maintainers <gcc@packages.debian.org>.   -t  From: owner@bugs.debian.org (Debian Bug Tracking System) To: Subject: Bug#85535: Acknowledgement (gcc: builtin memcmp() could be optimised) Message-ID: In-Reply-To: <200102102334.f1ANY8802784@gondor.apana.org.au> References: <200102102334.f1ANY8802784@gondor.apana.org.au> X-Debian-PR-Message: ack 85535 Thank you for the problem report you have sent regarding Debian. This is an automatically generated reply, to let you know your message has been received. It is being forwarded to the developers mailing list for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Debian GCC maintainers If you wish to submit further information on your problem, please send it to 85535@bugs.debian.org (and *not* to bugs@bugs.debian.org). Please do not reply to the address at the top of this message, unless you wish to report a problem with the Bug-tracking system. Darren Benham (administrator, Debian Bugs database)   Received: (at submit) by bugs.debian.org; 10 Feb 2001 23:34:16 +0000 From herbert@gondor.apana.org.au Sat Feb 10 17:34:16 2001 Return-path: Received: from gondor.apana.org.au [::ffff:203.14.152.114] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 14RjWw-0008Ke-00; Sat, 10 Feb 2001 17:34:15 -0600 Received: (from herbert@localhost) by gondor.apana.org.au (8.11.1/8.11.1/Debian 8.11.0-6) id f1ANY8802784; Sun, 11 Feb 2001 10:34:08 +1100 Date: Sun, 11 Feb 2001 10:34:08 +1100 Message-Id: <200102102334.f1ANY8802784@gondor.apana.org.au> From: Subject: gcc: builtin memcmp() could be optimised To: submit@bugs.debian.org X-Mailer: bug 3.3.7 Delivered-To: submit@bugs.debian.org Package: gcc Version: 1:2.95.2-20 Severity: wishlist If I did a memcmp() on two 32-bit objects and used the result value as a boolean, then memcmp() should not go to the trouble of determining the order of those two objects. It should simply determine whether they're equal or not. This can be generalised to objects of any size. For example, the code int main() { return !memcmp("abcd", "efgh", 4); } produces the assembly (-S -g -O2), movl $.LC1,%esi movl $.LC0,%edi movl $4,%ecx cld testb $0,%al repz cmpsb sete %al which is a waste because it could've simply loaded the two objects into registers and compared them. The same is true on other architectures as well. I have reproduced this problem with gcc 2.95.3. -- System Information Debian Release: testing/unstable Kernel Version: Linux gondor 2.2.17 #1 Mon Sep 11 22:22:16 EST 2000 i586 unknown Versions of the packages gcc depends on: ii binutils 2.10.1.0.2-1 The GNU assembler, linker and binary utiliti ii cpp 2.95.2-20 The GNU C preprocessor. ii libc6 2.2.1-1 GNU C Library: Shared libraries and Timezone   Acknowledgement sent to gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org:
Extra info received and filed, but not forwarded.   -t  From: owner@bugs.debian.org (Debian Bug Tracking System) To: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org Subject: Bug#85535: Info received and FILED only (was optimization/3508: builtin memcmp() could be optimised) Message-ID: In-Reply-To: <20010701162600.16285.qmail@sourceware.cygnus.com> References: <20010701162600.16285.qmail@sourceware.cygnus.com> X-Debian-PR-Message: ack-info-quiet 85535 Thank you for the additional information you have supplied regarding this problem report. It has NOT been forwarded to the developers, but will accompany the original report in the Bug tracking system. Please ensure that you yourself have sent a copy of the additional information to any relevant developers or mailing lists. If you wish to continue to submit further information on your problem, please send it to 85535-quiet@bugs.debian.org, as before. Please do not reply to the address at the top of this message, unless you wish to report a problem with the Bug-tracking system. Darren Benham (administrator, Debian Bugs database)   Received: (at 85535-quiet) by bugs.debian.org; 1 Jul 2001 16:26:01 +0000 From gnatsid@sourceware.cygnus.com Sun Jul 01 11:26:01 2001 Return-path: Received: from sourceware.cygnus.com [::ffff:205.180.83.71] by master.debian.org with smtp (Exim 3.12 1 (Debian)) id 15Gk2r-0006St-00; Sun, 01 Jul 2001 11:26:01 -0500 Received: (qmail 16286 invoked by uid 71); 1 Jul 2001 16:26:00 -0000 Date: 1 Jul 2001 16:26:00 -0000 Message-ID: <20010701162600.16285.qmail@sourceware.cygnus.com> To: 85535-quiet@bugs.debian.org From: gcc-gnats@gcc.gnu.org Subject: Re: optimization/3508: builtin memcmp() could be optimised Reply-To: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org In-Reply-To: Your message of Sun, 01 Jul 2001 18:15:43 +0200 Delivered-To: 85535-quiet@bugs.debian.org Thank you very much for your problem report. It has the internal identification `optimization/3508'. The individual assigned to look at your report is: unassigned. >Category: optimization >Responsible: unassigned >Synopsis: builtin memcmp() could be optimised >Arrival-Date: Sun Jul 01 09:26:00 PDT 2001   Noted your statement that Bug has been forwarded to gcc-gnats@gcc.gnu.org. Request was from Matthias Klose <doko@klose.in-berlin.de> to control@bugs.debian.org.   Received: (at control) by bugs.debian.org; 1 Jul 2001 17:04:19 +0000 From doko@klose.in-berlin.de Sun Jul 01 12:04:19 2001 Return-path: Received: from einhorn.colt.in-berlin.de (einhorn.in-berlin.de) [::ffff:213.61.118.8] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 15Gkdu-0007bU-00; Sun, 01 Jul 2001 12:04:18 -0500 Received: from gate.local (mail@doko.home.cs.tu-berlin.de [130.149.146.98]) by einhorn.in-berlin.de (8.11.1/8.11.1/Debian 8.11.0-6) with ESMTP id f61H4GI05744; Sun, 1 Jul 2001 19:04:17 +0200 X-Envelope-From: doko@klose.in-berlin.de X-Envelope-To: 85535-quiet@bugs.debian.org X-Authentication-Warning: einhorn.in-berlin.de: Host mail@doko.home.cs.tu-berlin.de [130.149.146.98] claimed to be gate.local Received: from doko by gate.local with local (Exim 3.22 #1 (Debian)) id 15Gkc4-0003Aa-00; Sun, 01 Jul 2001 19:02:24 +0200 Subject: gcc: submitted Debian report #85535 to gcc-gnats as PR 3508 To: control@bugs.debian.org CC: 85535-quiet@bugs.debian.org Reply-To: doko@debian.org From: Matthias Klose Message-Id: Sender: Matthias Klose Date: Sun, 01 Jul 2001 19:02:24 +0200 Delivered-To: control@bugs.debian.org # submitted Debian report #85535 to gcc-gnats as PR 3508 # http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3508&database=gcc forwarded 85535 gcc-gnats@gcc.gnu.org retitle 85535 [PR optimization/3508]: builtin memcmp() could be optimised thanks   Changed Bug title. Request was from Matthias Klose <doko@klose.in-berlin.de> to control@bugs.debian.org.   Received: (at control) by bugs.debian.org; 1 Jul 2001 17:04:19 +0000 From doko@klose.in-berlin.de Sun Jul 01 12:04:19 2001 Return-path: Received: from einhorn.colt.in-berlin.de (einhorn.in-berlin.de) [::ffff:213.61.118.8] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 15Gkdu-0007bU-00; Sun, 01 Jul 2001 12:04:18 -0500 Received: from gate.local (mail@doko.home.cs.tu-berlin.de [130.149.146.98]) by einhorn.in-berlin.de (8.11.1/8.11.1/Debian 8.11.0-6) with ESMTP id f61H4GI05744; Sun, 1 Jul 2001 19:04:17 +0200 X-Envelope-From: doko@klose.in-berlin.de X-Envelope-To: 85535-quiet@bugs.debian.org X-Authentication-Warning: einhorn.in-berlin.de: Host mail@doko.home.cs.tu-berlin.de [130.149.146.98] claimed to be gate.local Received: from doko by gate.local with local (Exim 3.22 #1 (Debian)) id 15Gkc4-0003Aa-00; Sun, 01 Jul 2001 19:02:24 +0200 Subject: gcc: submitted Debian report #85535 to gcc-gnats as PR 3508 To: control@bugs.debian.org CC: 85535-quiet@bugs.debian.org Reply-To: doko@debian.org From: Matthias Klose Message-Id: Sender: Matthias Klose Date: Sun, 01 Jul 2001 19:02:24 +0200 Delivered-To: control@bugs.debian.org # submitted Debian report #85535 to gcc-gnats as PR 3508 # http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3508&database=gcc forwarded 85535 gcc-gnats@gcc.gnu.org retitle 85535 [PR optimization/3508]: builtin memcmp() could be optimised thanks   Acknowledgement sent to doko@debian.org:
Extra info received and filed, but not forwarded.   -t  From: owner@bugs.debian.org (Debian Bug Tracking System) To: doko@debian.org Subject: Bug#85535: Info received and FILED only (was gcc: submitted Debian report #85535 to gcc-gnats as PR 3508) Message-ID: In-Reply-To: References: X-Debian-PR-Message: ack-info-quiet 85535 Thank you for the additional information you have supplied regarding this problem report. It has NOT been forwarded to the developers, but will accompany the original report in the Bug tracking system. Please ensure that you yourself have sent a copy of the additional information to any relevant developers or mailing lists. If you wish to continue to submit further information on your problem, please send it to 85535-quiet@bugs.debian.org, as before. Please do not reply to the address at the top of this message, unless you wish to report a problem with the Bug-tracking system. Darren Benham (administrator, Debian Bugs database)   Received: (at 85535-quiet) by bugs.debian.org; 1 Jul 2001 17:04:19 +0000 From doko@klose.in-berlin.de Sun Jul 01 12:04:19 2001 Return-path: Received: from einhorn.colt.in-berlin.de (einhorn.in-berlin.de) [::ffff:213.61.118.8] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 15Gkdu-0007bU-00; Sun, 01 Jul 2001 12:04:18 -0500 Received: from gate.local (mail@doko.home.cs.tu-berlin.de [130.149.146.98]) by einhorn.in-berlin.de (8.11.1/8.11.1/Debian 8.11.0-6) with ESMTP id f61H4GI05744; Sun, 1 Jul 2001 19:04:17 +0200 X-Envelope-From: doko@klose.in-berlin.de X-Envelope-To: 85535-quiet@bugs.debian.org X-Authentication-Warning: einhorn.in-berlin.de: Host mail@doko.home.cs.tu-berlin.de [130.149.146.98] claimed to be gate.local Received: from doko by gate.local with local (Exim 3.22 #1 (Debian)) id 15Gkc4-0003Aa-00; Sun, 01 Jul 2001 19:02:24 +0200 Subject: gcc: submitted Debian report #85535 to gcc-gnats as PR 3508 To: control@bugs.debian.org CC: 85535-quiet@bugs.debian.org Reply-To: doko@debian.org From: Matthias Klose Message-Id: Sender: Matthias Klose Date: Sun, 01 Jul 2001 19:02:24 +0200 Delivered-To: 85535-quiet@bugs.debian.org # submitted Debian report #85535 to gcc-gnats as PR 3508 # http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3508&database=gcc forwarded 85535 gcc-gnats@gcc.gnu.org retitle 85535 [PR optimization/3508]: builtin memcmp() could be optimised thanks   Information forwarded to gcc-defaults@packages.qa.debian.org:
Bug#85535; Package gcc.   gcc-defaults@packages.qa.debian.org  X-Loop: owner@bugs.debian.org Subject: Bug#85535: optimization/3508: builtin memcmp() could be optimised Reply-To: billingd@gcc.gnu.org, 85535-quiet@bugs.debian.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, herbert@gondor.apana.org.au, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org, 85535-quiet@bugs.debian.org Resent-From: billingd@gcc.gnu.org Resent-To: gcc-defaults@packages.qa.debian.org Resent-Date: Tue, 23 Apr 2002 03:48:06 GMT Resent-Message-ID: Resent-Sender: owner@bugs.debian.org X-Debian-PR-Message: report 85535 X-Debian-PR-Package: gcc X-Debian-PR-Keywords: Received: via spool by 85535-quiet@bugs.debian.org id=Q85535.101953317229438 (code Q ref 85535); Tue, 23 Apr 2002 03:48:06 GMT Date: 23 Apr 2002 03:39:29 -0000 Message-ID: <20020423033929.23151.qmail@sources.redhat.com> To: 85535-quiet@bugs.debian.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, herbert@gondor.apana.org.au, nobody@gcc.gnu.org From: billingd@gcc.gnu.org X-Mailer: gnatsweb 2.9.3 Delivered-To: 85535-quiet@bugs.debian.org Synopsis: builtin memcmp() could be optimised State-Changed-From-To: open->closed State-Changed-By: billingd State-Changed-When: Mon Apr 22 20:39:28 2002 State-Changed-Why: Fixed http://gcc.gnu.org/ml/gcc-patches/2001-12/msg02443.html http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3508   Acknowledgement sent to billingd@gcc.gnu.org, 85535-quiet@bugs.debian.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, herbert@gondor.apana.org.au, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org:
Extra info received and filed, but not forwarded. Copy sent to gcc-defaults@packages.qa.debian.org.   -t  X-Loop: owner@bugs.debian.org From: owner@bugs.debian.org (Debian Bug Tracking System) To: billingd@gcc.gnu.org, 85535-quiet@bugs.debian.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, herbert@gondor.apana.org.au, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Bug#85535: Info received and FILED only (was optimization/3508: builtin memcmp() could be optimised) Message-ID: In-Reply-To: <20020423033929.23151.qmail@sources.redhat.com> References: <20020423033929.23151.qmail@sources.redhat.com> X-Debian-PR-Message: ack-info-quiet 85535 Reply-To: 85535-quiet@bugs.debian.org Thank you for the additional information you have supplied regarding this problem report. It has NOT been forwarded to the developers, but will accompany the original report in the Bug tracking system. Please ensure that you yourself have sent a copy of the additional information to any relevant developers or mailing lists. If you wish to continue to submit further information on your problem, please send it to 85535-quiet@bugs.debian.org, as before. Please do not reply to the address at the top of this message, unless you wish to report a problem with the Bug-tracking system. Debian bug tracking system administrator (administrator, Debian Bugs database)   Received: (at 85535-quiet) by bugs.debian.org; 23 Apr 2002 03:39:32 +0000 From anonymous@sources.redhat.com Mon Apr 22 22:39:32 2002 Return-path: Received: from sources.redhat.com [209.249.29.67] by master.debian.org with smtp (Exim 3.12 1 (Debian)) id 16zr9Q-0007ej-00; Mon, 22 Apr 2002 22:39:32 -0500 Received: (qmail 23152 invoked by uid 61); 23 Apr 2002 03:39:29 -0000 Date: 23 Apr 2002 03:39:29 -0000 Message-ID: <20020423033929.23151.qmail@sources.redhat.com> To: 85535-quiet@bugs.debian.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, herbert@gondor.apana.org.au, nobody@gcc.gnu.org From: billingd@gcc.gnu.org Reply-To: billingd@gcc.gnu.org, 85535-quiet@bugs.debian.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, herbert@gondor.apana.org.au, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org X-Mailer: gnatsweb 2.9.3 Subject: Re: optimization/3508: builtin memcmp() could be optimised Delivered-To: 85535-quiet@bugs.debian.org Synopsis: builtin memcmp() could be optimised State-Changed-From-To: open->closed State-Changed-By: billingd State-Changed-When: Mon Apr 22 20:39:28 2002 State-Changed-Why: Fixed http://gcc.gnu.org/ml/gcc-patches/2001-12/msg02443.html http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3508   Information forwarded to debian-bugs-dist@lists.debian.org, Debian GCC maintainers <debian-gcc@lists.debian.org>, gcc-defaults@packages.qa.debian.org:
Bug#85535; Package gcc.   debian-bugs-dist@lists.debian.orgDebian GCC maintainers gcc-defaults@packages.qa.debian.org  X-Loop: owner@bugs.debian.org Subject: Bug#85535: fixed in gcc-3.1 Reply-To: Matthias Klose , 85535@bugs.debian.org Resent-From: Matthias Klose Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Debian GCC maintainers , gcc-defaults@packages.qa.debian.org Resent-Date: Mon, 27 May 2002 21:18:15 GMT Resent-Message-ID: Resent-Sender: owner@bugs.debian.org X-Debian-PR-Message: report 85535 X-Debian-PR-Package: gcc X-Debian-PR-Keywords: Received: via spool by 85535-submit@bugs.debian.org id=B85535.102253409929111 (code B ref 85535); Mon, 27 May 2002 21:18:15 GMT From: Matthias Klose MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15602.41116.204996.966657@gargle.gargle.HOWL> Date: Mon, 27 May 2002 23:09:48 +0200 To: 85535@bugs.debian.org, 85535-submitter@bugs.debian.org CC: control@bugs.debian.org X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Delivered-To: 85535@bugs.debian.org retitle 85535 [fixed in gcc-3.1, PR optimization/3508]: builtin memcmp() could be optimised tags 85535 + fixed thanks   Acknowledgement sent to Matthias Klose <doko@cs.tu-berlin.de>:
Extra info received and forwarded to list. Copy sent to Debian GCC maintainers <debian-gcc@lists.debian.org>, gcc-defaults@packages.qa.debian.org.   -t  X-Loop: owner@bugs.debian.org From: owner@bugs.debian.org (Debian Bug Tracking System) To: Matthias Klose Subject: Bug#85535: Info received (was fixed in gcc-3.1) Message-ID: In-Reply-To: <15602.41116.204996.966657@gargle.gargle.HOWL> References: <15602.41116.204996.966657@gargle.gargle.HOWL> X-Debian-PR-Message: ack-info 85535 X-Reply-To-disabled-by-doogie-because-it-can-wreak-havoc: 85535@bugs.debian.org Thank you for the additional information you have supplied regarding this problem report. It has been forwarded to the developer(s) and to the developers mailing list to accompany the original report. Your message has been sent to the package maintainer(s): Debian GCC maintainers If you wish to continue to submit further information on your problem, please send it to 85535@bugs.debian.org, as before. Please do not reply to the address at the top of this message, unless you wish to report a problem with the Bug-tracking system. Debian bug tracking system administrator (administrator, Debian Bugs database)   Received: (at 85535) by bugs.debian.org; 27 May 2002 21:14:59 +0000 From doko@cs.tu-berlin.de Mon May 27 16:14:59 2002 Return-path: Received: from mail.cs.tu-berlin.de [130.149.17.13] (root) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 17CRpS-0007ZN-00; Mon, 27 May 2002 16:14:58 -0500 Received: from bolero.cs.tu-berlin.de (daemon@bolero.cs.tu-berlin.de [130.149.19.1]) by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id XAA28415; Mon, 27 May 2002 23:09:48 +0200 (MET DST) Received: (from doko@localhost) by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id g4RL9mr02938; Mon, 27 May 2002 23:09:48 +0200 (MEST) From: Matthias Klose MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15602.41116.204996.966657@gargle.gargle.HOWL> Date: Mon, 27 May 2002 23:09:48 +0200 To: 85535@bugs.debian.org, 85535-submitter@bugs.debian.org CC: control@bugs.debian.org Subject: fixed in gcc-3.1 X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Delivered-To: 85535@bugs.debian.org retitle 85535 [fixed in gcc-3.1, PR optimization/3508]: builtin memcmp() could be optimised tags 85535 + fixed thanks   Changed Bug title. Request was from Matthias Klose <doko@cs.tu-berlin.de> to control@bugs.debian.org.   Received: (at control) by bugs.debian.org; 27 May 2002 21:14:59 +0000 From doko@cs.tu-berlin.de Mon May 27 16:14:59 2002 Return-path: Received: from mail.cs.tu-berlin.de [130.149.17.13] (root) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 17CRpS-0007ZN-00; Mon, 27 May 2002 16:14:58 -0500 Received: from bolero.cs.tu-berlin.de (daemon@bolero.cs.tu-berlin.de [130.149.19.1]) by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id XAA28415; Mon, 27 May 2002 23:09:48 +0200 (MET DST) Received: (from doko@localhost) by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id g4RL9mr02938; Mon, 27 May 2002 23:09:48 +0200 (MEST) From: Matthias Klose MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15602.41116.204996.966657@gargle.gargle.HOWL> Date: Mon, 27 May 2002 23:09:48 +0200 To: 85535@bugs.debian.org, 85535-submitter@bugs.debian.org CC: control@bugs.debian.org Subject: fixed in gcc-3.1 X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Delivered-To: control@bugs.debian.org retitle 85535 [fixed in gcc-3.1, PR optimization/3508]: builtin memcmp() could be optimised tags 85535 + fixed thanks   Tags added: fixed Request was from Matthias Klose <doko@cs.tu-berlin.de> to control@bugs.debian.org.   Received: (at control) by bugs.debian.org; 27 May 2002 21:14:59 +0000 From doko@cs.tu-berlin.de Mon May 27 16:14:59 2002 Return-path: Received: from mail.cs.tu-berlin.de [130.149.17.13] (root) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 17CRpS-0007ZN-00; Mon, 27 May 2002 16:14:58 -0500 Received: from bolero.cs.tu-berlin.de (daemon@bolero.cs.tu-berlin.de [130.149.19.1]) by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id XAA28415; Mon, 27 May 2002 23:09:48 +0200 (MET DST) Received: (from doko@localhost) by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id g4RL9mr02938; Mon, 27 May 2002 23:09:48 +0200 (MEST) From: Matthias Klose MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15602.41116.204996.966657@gargle.gargle.HOWL> Date: Mon, 27 May 2002 23:09:48 +0200 To: 85535@bugs.debian.org, 85535-submitter@bugs.debian.org CC: control@bugs.debian.org Subject: fixed in gcc-3.1 X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Delivered-To: control@bugs.debian.org retitle 85535 [fixed in gcc-3.1, PR optimization/3508]: builtin memcmp() could be optimised tags 85535 + fixed thanks   Message sent on to <herbert@gondor.apana.org.au>:
Bug#85535.   gcc-defaults@packages.qa.debian.org  X-Loop: owner@bugs.debian.org Subject: Bug#85535: fixed in gcc-3.1 Reply-To: Matthias Klose , 85535-quiet@bugs.debian.org Resent-To: Resent-CC: gcc-defaults@packages.qa.debian.org Resent-Date: Mon, 27 May 2002 21:18:31 GMT Resent-Message-ID: Resent-Sender: owner@bugs.debian.org X-Debian-PR-Message: report 85535 X-Debian-PR-Package: gcc X-Debian-PR-Keywords: fixed Received: via spool by 85535-submitter@bugs.debian.org id=U85535.102253409929115 (code U ref 85535); Mon, 27 May 2002 21:18:31 GMT From: Matthias Klose MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15602.41116.204996.966657@gargle.gargle.HOWL> Date: Mon, 27 May 2002 23:09:48 +0200 To: 85535@bugs.debian.org, 85535-submitter@bugs.debian.org CC: control@bugs.debian.org X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Delivered-To: 85535-submitter@bugs.debian.org retitle 85535 [fixed in gcc-3.1, PR optimization/3508]: builtin memcmp() could be optimised tags 85535 + fixed thanks   Received: (at 85535-submitter) by bugs.debian.org; 27 May 2002 21:14:59 +0000 From doko@cs.tu-berlin.de Mon May 27 16:14:59 2002 Return-path: Received: from mail.cs.tu-berlin.de [130.149.17.13] (root) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 17CRpS-0007ZN-00; Mon, 27 May 2002 16:14:58 -0500 Received: from bolero.cs.tu-berlin.de (daemon@bolero.cs.tu-berlin.de [130.149.19.1]) by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id XAA28415; Mon, 27 May 2002 23:09:48 +0200 (MET DST) Received: (from doko@localhost) by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id g4RL9mr02938; Mon, 27 May 2002 23:09:48 +0200 (MEST) From: Matthias Klose MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15602.41116.204996.966657@gargle.gargle.HOWL> Date: Mon, 27 May 2002 23:09:48 +0200 To: 85535@bugs.debian.org, 85535-submitter@bugs.debian.org CC: control@bugs.debian.org Subject: fixed in gcc-3.1 X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Delivered-To: 85535-submitter@bugs.debian.org retitle 85535 [fixed in gcc-3.1, PR optimization/3508]: builtin memcmp() could be optimised tags 85535 + fixed thanks   Forwarded-to-address changed from gcc-gnats@gcc.gnu.org to http://gcc.gnu.org/PR3508. Request was from Matthias Klose <doko@cs.tu-berlin.de> to control@bugs.debian.org.   Received: (at control) by bugs.debian.org; 10 May 2003 10:46:51 +0000 From doko@cs.tu-berlin.de Sat May 10 05:46:50 2003 Return-path: Received: from mail.cs.tu-berlin.de [130.149.17.13] (root) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 19ERsQ-0000wS-00; Sat, 10 May 2003 05:46:50 -0500 Received: from bolero.cs.tu-berlin.de (daemon@bolero.cs.tu-berlin.de [130.149.19.1]) by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id MAA28921 for ; Sat, 10 May 2003 12:45:19 +0200 (MET DST) Received: (from doko@localhost) by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id h4AAjJo28109; Sat, 10 May 2003 12:45:19 +0200 (MEST) From: Matthias Klose MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16060.55359.440839.439604@gargle.gargle.HOWL> Date: Sat, 10 May 2003 12:45:19 +0200 To: control@bugs.debian.org Subject: more forwarded gcc reports X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Delivered-To: control@bugs.debian.org X-Spam-Status: No, hits=-6.7 required=4.0 tests=BAYES_30,USER_AGENT_VM version=2.53-bugs.debian.org_2003_05_09 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_09 (1.174.2.15-2003-03-30-exp) forwarded 192576 http://gcc.gnu.org/PR10700 forwarded 151357 http://gcc.gnu.org/PR7306 forwarded 168310 http://gcc.gnu.org/PR8598 forwarded 178909 http://gcc.gnu.org/PR10114 forwarded 178965 http://gcc.gnu.org/PR10113 forwarded 184749 http://gcc.gnu.org/PR10083 forwarded 184753 http://gcc.gnu.org/PR10084 forwarded 192568 http://gcc.gnu.org/PR10695 forwarded 147864 http://gcc.gnu.org/PR5679 forwarded 152501 http://gcc.gnu.org/PR7304 forwarded 166940 http://gcc.gnu.org/PR8600 forwarded 172031 http://gcc.gnu.org/PR9077 forwarded 181600 http://gcc.gnu.org/PR5679 forwarded 188527 http://gcc.gnu.org/PR10427 forwarded 94701 http://gcc.gnu.org/PR2960 retitle 94701 [PR optimization/2960] Duplicate loop conditions even with -Os forwarded 122103 http://gcc.gnu.org/PR9071 forwarded 128993 http://gcc.gnu.org/PR9073 forwarded 55298 http://gcc.gnu.org/PR3481 forwarded 73065 http://gcc.gnu.org/PR6897 forwarded 117765 http://gcc.gnu.org/PR179 forwarded 121269 http://gcc.gnu.org/PR9209 forwarded 121282 http://gcc.gnu.org/PR9209 forwarded 25824 http://gcc.gnu.org/PR6903 forwarded 75773 http://gcc.gnu.org/PR3507 forwarded 107123 http://gcc.gnu.org/PR3507 forwarded 81122 http://gcc.gnu.org/PR3494 forwarded 85535 http://gcc.gnu.org/PR3508 thanks   Reply sent to Matthias Klose <doko@debian.org>:
You have taken responsibility.   -t  X-Loop: owner@bugs.debian.org From: owner@bugs.debian.org (Debian Bug Tracking System) To: Matthias Klose Cc: Debian GCC maintainers , gcc-defaults@packages.qa.debian.org Bcc: debian-bugs-closed@lists.debian.org Subject: Bug#85535: marked as done ([fixed in gcc-3.1, PR optimization/3508]: builtin memcmp() could be optimised) Message-ID: In-Reply-To: References: <200102102334.f1ANY8802784@gondor.apana.org.au> Precedence: bulk X-Debian-PR-Message: closed 85535 X-Debian-PR-Package: gcc X-Debian-PR-Keywords: fixed Your message dated Sat, 17 May 2003 17:32:56 -0400 with message-id and subject line Bug#85535: fixed in gcc-3.3 1:3.3ds9-1 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; 10 Feb 2001 23:34:16 +0000 From herbert@gondor.apana.org.au Sat Feb 10 17:34:16 2001 Return-path: Received: from gondor.apana.org.au [::ffff:203.14.152.114] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 14RjWw-0008Ke-00; Sat, 10 Feb 2001 17:34:15 -0600 Received: (from herbert@localhost) by gondor.apana.org.au (8.11.1/8.11.1/Debian 8.11.0-6) id f1ANY8802784; Sun, 11 Feb 2001 10:34:08 +1100 Date: Sun, 11 Feb 2001 10:34:08 +1100 Message-Id: <200102102334.f1ANY8802784@gondor.apana.org.au> From: Subject: gcc: builtin memcmp() could be optimised To: submit@bugs.debian.org X-Mailer: bug 3.3.7 Delivered-To: submit@bugs.debian.org Package: gcc Version: 1:2.95.2-20 Severity: wishlist If I did a memcmp() on two 32-bit objects and used the result value as a boolean, then memcmp() should not go to the trouble of determining the order of those two objects. It should simply determine whether they're equal or not. This can be generalised to objects of any size. For example, the code int main() { return !memcmp("abcd", "efgh", 4); } produces the assembly (-S -g -O2), movl $.LC1,%esi movl $.LC0,%edi movl $4,%ecx cld testb $0,%al repz cmpsb sete %al which is a waste because it could've simply loaded the two objects into registers and compared them. The same is true on other architectures as well. I have reproduced this problem with gcc 2.95.3. -- System Information Debian Release: testing/unstable Kernel Version: Linux gondor 2.2.17 #1 Mon Sep 11 22:22:16 EST 2000 i586 unknown Versions of the packages gcc depends on: ii binutils 2.10.1.0.2-1 The GNU assembler, linker and binary utiliti ii cpp 2.95.2-20 The GNU C preprocessor. ii libc6 2.2.1-1 GNU C Library: Shared libraries and Timezone --------------------------------------- Received: (at 85535-close) by bugs.debian.org; 17 May 2003 21:40:52 +0000 From katie@auric.debian.org Sat May 17 16:40:51 2003 Return-path: Received: from auric.debian.org [206.246.226.45] (mail) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 19H9QB-0006GK-00; Sat, 17 May 2003 16:40:51 -0500 Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian)) id 19H9IW-0003UL-00; Sat, 17 May 2003 17:32:56 -0400 From: Matthias Klose To: 85535-close@bugs.debian.org X-Katie: $Revision: 1.34 $ Subject: Bug#85535: fixed in gcc-3.3 1:3.3ds9-1 Message-Id: Sender: Archive Administrator Date: Sat, 17 May 2003 17:32:56 -0400 Delivered-To: 85535-close@bugs.debian.org 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: cpp-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/cpp-3.3-doc_3.3-1_all.deb cpp-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/cpp-3.3_3.3-1_i386.deb fastjar_3.3-1_i386.deb to pool/main/g/gcc-3.3/fastjar_3.3-1_i386.deb fixincludes_3.3-1_i386.deb to pool/main/g/gcc-3.3/fixincludes_3.3-1_i386.deb g++-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/g++-3.3_3.3-1_i386.deb g77-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/g77-3.3-doc_3.3-1_all.deb g77-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/g77-3.3_3.3-1_i386.deb gcc-3.3-base_3.3-1_i386.deb to pool/main/g/gcc-3.3/gcc-3.3-base_3.3-1_i386.deb gcc-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/gcc-3.3-doc_3.3-1_all.deb gcc-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gcc-3.3_3.3-1_i386.deb gcc-3.3_3.3ds9-1.diff.gz to pool/main/g/gcc-3.3/gcc-3.3_3.3ds9-1.diff.gz gcc-3.3_3.3ds9-1.dsc to pool/main/g/gcc-3.3/gcc-3.3_3.3ds9-1.dsc gcc-3.3_3.3ds9.orig.tar.gz to pool/main/g/gcc-3.3/gcc-3.3_3.3ds9.orig.tar.gz gcj-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gcj-3.3_3.3-1_i386.deb gij-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gij-3.3_3.3-1_i386.deb gnat-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/gnat-3.3-doc_3.3-1_all.deb gnat-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gnat-3.3_3.3-1_i386.deb gobjc-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gobjc-3.3_3.3-1_i386.deb gpc-2.1-3.3-doc_3.3.20030507-1_all.deb to pool/main/g/gcc-3.3/gpc-2.1-3.3-doc_3.3.20030507-1_all.deb gpc-2.1-3.3_3.3.20030507-1_i386.deb to pool/main/g/gcc-3.3/gpc-2.1-3.3_3.3.20030507-1_i386.deb libffi2-dev_3.3-1_i386.deb to pool/main/g/gcc-3.3/libffi2-dev_3.3-1_i386.deb libffi2_3.3-1_i386.deb to pool/main/g/gcc-3.3/libffi2_3.3-1_i386.deb libg2c0_3.3-1_i386.deb to pool/main/g/gcc-3.3/libg2c0_3.3-1_i386.deb libgcc1_3.3-1_i386.deb to pool/main/g/gcc-3.3/libgcc1_3.3-1_i386.deb libgcj-common_3.3-1_i386.deb to pool/main/g/gcc-3.3/libgcj-common_3.3-1_i386.deb libgcj4-dev_3.3-1_i386.deb to pool/main/g/gcc-3.3/libgcj4-dev_3.3-1_i386.deb libgcj4_3.3-1_i386.deb to pool/main/g/gcc-3.3/libgcj4_3.3-1_i386.deb libobjc1_3.3-1_i386.deb to pool/main/g/gcc-3.3/libobjc1_3.3-1_i386.deb libstdc++5-3.3-dbg_3.3-1_i386.deb to pool/main/g/gcc-3.3/libstdc++5-3.3-dbg_3.3-1_i386.deb libstdc++5-3.3-dev_3.3-1_i386.deb to pool/main/g/gcc-3.3/libstdc++5-3.3-dev_3.3-1_i386.deb libstdc++5-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/libstdc++5-3.3-doc_3.3-1_all.deb libstdc++5-3.3-pic_3.3-1_i386.deb to pool/main/g/gcc-3.3/libstdc++5-3.3-pic_3.3-1_i386.deb libstdc++5_3.3-1_i386.deb to pool/main/g/gcc-3.3/libstdc++5_3.3-1_i386.deb protoize_3.3-1_i386.deb to pool/main/g/gcc-3.3/protoize_3.3-1_i386.deb treelang-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/treelang-3.3_3.3-1_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 85535@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Matthias Klose (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) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Fri, 16 May 2003 07:13:57 +0200 Source: gcc-3.3 Binary: libgnat3.15 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 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 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.3ds9-1 Distribution: unstable Urgency: low Maintainer: Debian GCC maintainers Changed-By: Matthias Klose Description: 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 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: 2910 12253 20695 21255 27878 33786 34876 35477 42662 42989 43001 43119 43170 45440 46181 47981 48530 50529 51456 51651 53698 55291 55967 56867 58219 59005 59232 61806 62309 64628 64832 65406 65686 65687 67631 68963 68987 70743 72933 79225 80468 81122 83221 83363 83550 84969 85535 85934 87540 88260 88694 90363 90666 93708 94701 94891 95318 97603 105309 105569 114029 118670 118781 120333 127489 128367 130415 131454 131890 134558 136630 136659 137382 140427 141797 142844 144602 146006 148603 150558 151196 151357 151671 151675 152315 152709 154599 154767 156450 157292 158704 161615 162074 165110 165829 165992 166766 167439 168310 168346 170994 172956 176387 178596 178830 178909 178965 179363 179597 180493 180567 180750 180937 181679 184108 184753 184800 184862 185903 186139 186299 186447 187910 188527 189702 190066 191407 Changes: gcc-3.3 (1:3.3ds9-1) unstable; urgency=low . * gcc-3.3 final release. See /usr/share/doc/gcc-3.3/NEWS.{gcc,html}. * First merge of i386/x86-64 biarch support (Arnd Bergmann). Disabled by default. Closes: #190066. * New gpc-20030507 version. * Upstream gpc update to fix netbsd build failure (closes: #191407). * Add arm-xscale.dpatch, arm-10730.dpatch, arm-tune.dpatch, copied from gcc-3.2 (Phil Blundell). * Closing bug reports reported against older gcc versions (some of them still present in Debian, but not anymore as the default compiler). Usually, forwarded bug reports are linked to http://gcc.gnu.org/PR The upstream bug number usually can be found in the Debian reports. . * Closed reports reported against gcc-3.1.x, gcc-3.2.x and fixed in gcc-3.3: - General: + GCC accepts multi-line strings without \ or " " &c (closes: #2910). + -print-file-name sometimes fails (closes: #161615). + ICE: reporting routines re-entered (closes: #179597, #180937). + Misplaced paragraph in gcc documentation (closes: #179363). + Error: suffix or operands invalid for `div' (closes: #150558). + builtin memcmp() could be optimised (closes: #85535). - Ada: + Preelaborate, exceptions, and -gnatN (closes: #181679). - C: + Duplicate loop conditions even with -Os (closes: #94701). + ICE (signal 11) (closes: #65686). - C++: + C++ error on virtual function which uses ... (closes: #165829). + ICE when warning about cleanup nastiness in switch statements (closes: #184108). + Fails to compile virtual inheritance with variable number of argument method (closes: #151357). + xmmintrin.h broken for c++ (closes: #168310). + Stack corruption with variable-length automatic arrays and virtual destructors (closes: #188527). + ICE on illegal code (closes: #184862). + _attribute__((unused)) is ignored in C++ (closes: #45440). + g++ handles &(void *)foo bizzarely (closes: #79225). + ICE (with wrong code, though) (closes: #81122). - Java: + Broken zip file handling (closes: #180567). - ObjC: + @protocol forward definitions do not work (closes: #80468). - Architecture specific: - alpha + va_start is off by one (closes: #186139). + ICE while building kseg/ddd (closes: #184753). + g++ -O2 optimization error (closes: #70743). - arm + ICE with -O2 in change_address_1 (closes: #180750). + gcc optimization error with -O2, affecting bison (closes: #185903). - hppa + ICE in insn_default_length (closes: #186447). - ia64 + gcc-3.2 fails w/ optimization (closes: #178830). - i386 + unnecessary generation of instruction cwtl (closes: #95318). + {athlon} ICE building mplayer (closes: #184800). + {pentium4} ICE while compiling mozilla with -march=pentium4 (closes: #187910). + i386 optimisation: joining tests (closes: #105309). - m68k + ICE in instantiate_virtual_regs_1 (closes: #180493). + gcc optimizer bug on m68k (closes: #64832). - powerpc + ICE in extract_insn, at recog.c:2175 building php3 (closes: #186299). + ICE with -O -Wunreachable-code (closes: #189702). - s390 + Operand out of range at assembly time when using -O2 (closes: #178596). - sparc + gcc-3.2 regression (wrong code) (closes: #176387). + ICE in mem_loc_descriptor when optimizing (closes: #178909). + ICE in gen_reg_rtx when optimizing (closes: #178965). + Optimisation leads to unaligned access in memcpy (closes: #136659). . * Closed reports reported against gcc-3.0 and fixed in gcc-3.2.x: - General: + Use mkstemp instead of mktemp (closed: #127802). - Preprocessor: + Fix redundant error message from cpp (closed: #100722). - C: + Optimization issue on ix86 (pointless moving) (closed: #97904). + Miscompilation of allegro on ix86 (closed: #105741). + Fix generation of ..ng references for static aliases (alpha-linux). (closed: #108036). + ICE compiling pari on hppa (closed: #111613). + ICE on ia64 in instantiate_virtual_regs_1 (closed: #121668). + ICE in c-typeck.c (closed: #123687). + ICE in gen_subprogram_die on alpha (closed: #127890). + SEGV in initialization of flexible char array member (closed: #131399). + ICE on arm compiling lapack (closed: #135967). + ICE in incomplete_type_error (closed: #140606). + Fix -Wswitch (also part of -Wall) (closed: #140995). + Wrong code in mke2fs on hppa (closed: #150232). + sin(a) * sin(b) gives wrong result (closed: #164135). - C++: + Error in std library headers on arm (closed: #107633). + ICE nr. 19970302 (closed: #119635). + std::wcout does not perform encoding conversions (closed: #128026). + SEGV, when compiling iostream.h with -fPIC (closed: #134315). + Fixed segmentation fault in included code for (closed: #137017). + Fix with exception handling and -O (closed: #144232). + Fix octave-2.1 build failure on ia64 (closed: #144584). + nonstandard overloads in num_get facet (closed: #155900). + ICE in expand_end_loop with -O (closed: #158371). - Fortran: + Fix blas build failure on arm (closed: #137959). - Java: + Interface members are public by default (closed: #94974). + Strange message with -fno-bounds-check in combination with -W. (closed: #102353). + Crash in FileWriter using IOException (closed: #116128). + Fix ObjectInputStream.readObject() calling constructors. (closed: #121636). + gij: better error reporting on `class not found' (closed: #125649). + Lockup during .java->.class compilation (closed: #141899). + Compile breaks using temporary inner class instance (closed: #141900). + Default constructor for inner class causes broken bytecode. (closed: #141902). + gij-3.2 linked against libgcc1 (closed: #165180). + gij-wrapper understands -classpath parameter (closed: #146634). + gij-3.2 doesn't ignore -jar when run as "java" (closed: #167673). - ObjC: + ICE on alpha (closed: #172353). . * Closed reports reported against gcc-2.95 and fixed in newer versions: - General: + Undocumented option -pthread (closes: #165110). + stdbool.h broken (closes: #167439). + regparm/profiling breakage (closes: #20695). + another gcc optimization error (closes: #51456). + ICE in `output_fix_trunc' (closes: #55967). + Fix "Unable to generate reloads for" (closes: #58219, #131890). + gcc -c -MD x/y.c -o x/y.o leaves y.d in cwd (closes: #59232). + Compiler error with -O2 (closes: #67631). + ICE (unrecognizable insn) compiling php4 (closes: #83550, #84969). + Another ICE (closes: #90666). + man versus info inconsistency (-W and -Wall) (closes: #93708). + ICE on invalid extended asm (closes: #136630). + ICE in `emit_no_conflict_block' compiling perl (closes: #154599). + ICE in `gen_tagged_type_instantiation_die'(closes: #166766). + ICE on __builtin_memset(s, 0, -1) (closes: #170994). + -Q option to gcc appears twice in the documentation (closes: #137382). + New options for specifying targets:- -MQ and -MT (closes: #27878). + Configure using --enable-nls (closes: #51651). + gcc -dumpspecs undocumented (closes: #65406). - Preprocessor: + cpp fails to parse macros with varargs correctly(closes: #154767). + __VA_ARGS__ stringification crashes preprocessor if __VA_ARGS__ is empty (closes: #152709). + gcc doesn't handle empty args in macro function if there is only one arg(closes: #156450). - C: + Uncaught floating point exception causes ICE (closes: #33786). + gcc -fpack-struct doesn't pack structs (closes: #64628). + ICE in kernel (matroxfb) code (closes: #151196). + gcc doesn't warn about unreachable code (closes: #158704). + Fix docs for __builtin_return_address(closes: #165992). + C99 symbols in limits.h not defined (closes: #168346). + %zd printf spec generates warning, even in c9x mode (closes: #94891). + Update GCC attribute syntax (closes: #12253, #43119). - C++ & libstdc++-v3: + template and virtual inheritance bug (closes: #152315). + g++ has some troubles with nested templates (closes: #21255). + vtable thunks implementation is broken (closes: #34876, #35477). + ICE for templated friend (closes: #42662). + ICE compiling mnemonic (closes: #42989). + Deprecated: result naming doesn't work for functions defined in a class (closes: #43170). + volatile undefined ... (closes: #50529). + ICE concerning templates (closes: #53698). + Program compiled -O3 -malign-double segfaults in ofstream::~ofstream (closes: #56867). + __attribute__ ((constructor)) doesn't work with C++ (closes: #61806). + Another ICE (closes: #65687). + ICE in `const_hash' (closes: #72933). + ICE on illegal code (closes: #83221). + Wrong code with -O2 (closes: #83363). + ICE on template class (closes: #85934). + No warning for missing return in non-void member func (closes: #88260). + Not a bug/fixed in libgcc1: libgcc.a symbols end up exported by shared libraries (closes: #118670). + ICE using nested templates (closes: #118781). + Another ICE with templates (closes: #127489). + More ICEs (closes: #140427, #141797). + ICE when template declared after use(closes: #148603). + template function default arguments are not handled (closes: #157292). + Warning when including stl.h (closes: #162074). + g++ -pedantic-errors -D_GNU_SOURCE cannot #include (closes: #151671). + c++ error message improvement suggestion (closes: #46181). + Compilation error in stl_alloc.h with -fhonor-std (closes: #59005). + libstdc++ has no method at() in stl_= (closes: #68963). - Fortran: + g77 crash (closes: #130415). - ObjC: + ICE: program cc1obj got fatal signal 11 (closes: #62309). + Interface to garbage collector is undocumented. (closes: #68987). - Architecture specific: - alpha + Can't compile with define gnu_source with stdio and curses (closes: #97603). + Header conflicts on alpha (closes: #134558). + lapack-dev: cannot link on alpha (closes: #144602). + ICE `fixup_var_refs_1' (closes: #43001). + Mutt segv on viewing list of attachments (closes: #47981). + ICE building open-amulet (closes: #48530). + ICE compiling hatman (closes: #55291). + dead code removal in switch() broken (closes: #142844). - arm + Miscompilation using -fPIC on arm (closes: #90363). + infinite loop with -O on arm (closes: #151675). - i386 + ICE when using -mno-ieee-fp and -march=i686 (closes: #87540). - m68k + Optimization (-O2) broken on m68k (closes: #146006). - mips + g++ exception catching does not work... (closes: #105569). + update-menus gets Bus Error (closes: #120333). - mipsel + aspell: triggers ICE on mipsel (closes: #128367). - powerpc + -O2 produces wrong code (gnuchess example) (closes: #131454). - sparc + Misleading documentation for -malign-{jump,loop,function}s (closes: #114029). + Sparc GCC issue with -mcpu=ultrasparc (closes: #172956). + flightgear: build failure on sparc (closes: #88694). Files: 3d2b083f9a2b539d296ef5a911343705 2307 devel standard gcc-3.3_3.3ds9-1.dsc fa100f062223973e958be2ab18e5f688 24926760 devel standard gcc-3.3_3.3ds9.orig.tar.gz 37bbc04e3dad6b933a30504ec4fe6b08 2204853 devel standard gcc-3.3_3.3ds9-1.diff.gz 79ea1bdd209725be2bb3ee2e5537da48 82876 doc optional cpp-3.3-doc_3.3-1_all.deb 000578b291dde293992bcd0156f7a7d0 3093140 doc optional libstdc++5-3.3-doc_3.3-1_all.deb e59a1eb9c96c802db82d4e6b59af2541 274170 doc optional g77-3.3-doc_3.3-1_all.deb a857f599f57e548603c5ab9825b144ff 348964 doc optional gnat-3.3-doc_3.3-1_all.deb cb59ea86b3d2c4380e958c3eee6d962b 76210 doc optional gpc-2.1-3.3-doc_3.3.20030507-1_all.deb 292853d621b1c8b8ffa13c74e539e6ec 602750 doc optional gcc-3.3-doc_3.3-1_all.deb 216eac130d297e3e30b112d24a4bc8fd 138902 devel important gcc-3.3-base_3.3-1_i386.deb f3bb1d18e89f7af1f605da89cbaa2b2f 67788 libs important libgcc1_3.3-1_i386.deb b90a7bcee01d015cc7414be5c2f6d25c 1305878 interpreters standard cpp-3.3_3.3-1_i386.deb a3aab24cd88de2e34db3ad8a633ce125 22584 devel optional protoize_3.3-1_i386.deb b7654a977ea0da9b8fa54ddab189de5d 47206 devel optional fixincludes_3.3-1_i386.deb c63d3d44280d95bbe60ced8aad62c6a5 1379180 devel optional gobjc-3.3_3.3-1_i386.deb d2e1b5e3d520a38be5333be3ccfd2899 124356 libs optional libobjc1_3.3-1_i386.deb 9b7315a4e5f071018ec374b548b76228 12914 devel optional gij-3.3_3.3-1_i386.deb c9c6efe00a0679878685b1e84211e126 4010832 libs optional libgcj4_3.3-1_i386.deb fb35ad9b8ecb76c3982cb2384e359da3 54070 libs optional libgcj-common_3.3-1_i386.deb 558b45f1c621ea045eab117e32a87c69 1604634 devel optional gcj-3.3_3.3-1_i386.deb 06967a15447e2ef1dd04d5a04dea6699 4819306 libdevel optional libgcj4-dev_3.3-1_i386.deb 028dc977e84e9402617c718380f981dd 111618 devel extra fastjar_3.3-1_i386.deb 8757ca758feac2763aa62fddbe145429 64244 libs optional libffi2_3.3-1_i386.deb 70a7aab8f3f57cd9974f3023ceddee19 10724 libdevel optional libffi2-dev_3.3-1_i386.deb 979084825831a155c6f14da19e76ff79 1667548 devel standard g++-3.3_3.3-1_i386.deb a759a7b2f2204d6f7798d6c7cf08b712 268318 base important libstdc++5_3.3-1_i386.deb 48583aab7407576b4a9cf225cb22d60a 735648 libdevel optional libstdc++5-3.3-dev_3.3-1_i386.deb 98f58480d80c7222495e70600e2b49dd 309792 libdevel extra libstdc++5-3.3-pic_3.3-1_i386.deb 010ddd4bc2b901e2881ceadcae4d8731 5004206 libdevel extra libstdc++5-3.3-dbg_3.3-1_i386.deb d76d5d48818d2252e62f67fd8a0e338a 47258 libs optional libg2c0_3.3-1_i386.deb 4ec194476feb6c060caa878d44e4a9b7 1511860 devel optional g77-3.3_3.3-1_i386.deb 00192418de41835341ea92e8a105c1d8 6106558 devel optional gnat-3.3_3.3-1_i386.deb 70fbb333b1766707bbac9451d473793e 1238548 devel optional treelang-3.3_3.3-1_i386.deb 6f3a976e18c5d2bc5f31de344262b15f 1938336 devel optional gpc-2.1-3.3_3.3.20030507-1_i386.deb 342cf1a42b035e38dbe89003edafb18f 1295518 devel standard gcc-3.3_3.3-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+xnq0StlRaw+TLJwRAiLKAJ0WkgHHwXa9PnIFCznl9vaw+lPmPgCbBOKh LGKxwAkaRKfU3nZ6MRTiMUo= =53cd -----END PGP SIGNATURE-----   Notification sent to <herbert@gondor.apana.org.au>:
Bug acknowledged by developer.   -t  X-Loop: owner@bugs.debian.org From: owner@bugs.debian.org (Debian Bug Tracking System) To: Subject: Bug#85535 acknowledged by developer (Bug#85535: fixed in gcc-3.3 1:3.3ds9-1) Message-ID: In-Reply-To: <200102102334.f1ANY8802784@gondor.apana.org.au> References: <200102102334.f1ANY8802784@gondor.apana.org.au> X-Debian-PR-Message: they-closed 85535 X-Debian-PR-Package: gcc X-Debian-PR-Keywords: fixed Reply-To: 85535@bugs.debian.org This is an automatic notification regarding your Bug report #85535: [fixed in gcc-3.1, PR optimization/3508]: builtin memcmp() could be optimised, which was filed against the gcc package. It has been closed by one of the developers, namely Matthias Klose . Their explanation is attached below. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact the developer, by replying to this email. Debian bug tracking system administrator (administrator, Debian Bugs database) Received: (at 85535-close) by bugs.debian.org; 17 May 2003 21:40:52 +0000 From katie@auric.debian.org Sat May 17 16:40:51 2003 Return-path: Received: from auric.debian.org [206.246.226.45] (mail) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 19H9QB-0006GK-00; Sat, 17 May 2003 16:40:51 -0500 Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian)) id 19H9IW-0003UL-00; Sat, 17 May 2003 17:32:56 -0400 From: Matthias Klose To: 85535-close@bugs.debian.org X-Katie: $Revision: 1.34 $ Subject: Bug#85535: fixed in gcc-3.3 1:3.3ds9-1 Message-Id: Sender: Archive Administrator Date: Sat, 17 May 2003 17:32:56 -0400 Delivered-To: 85535-close@bugs.debian.org 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: cpp-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/cpp-3.3-doc_3.3-1_all.deb cpp-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/cpp-3.3_3.3-1_i386.deb fastjar_3.3-1_i386.deb to pool/main/g/gcc-3.3/fastjar_3.3-1_i386.deb fixincludes_3.3-1_i386.deb to pool/main/g/gcc-3.3/fixincludes_3.3-1_i386.deb g++-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/g++-3.3_3.3-1_i386.deb g77-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/g77-3.3-doc_3.3-1_all.deb g77-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/g77-3.3_3.3-1_i386.deb gcc-3.3-base_3.3-1_i386.deb to pool/main/g/gcc-3.3/gcc-3.3-base_3.3-1_i386.deb gcc-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/gcc-3.3-doc_3.3-1_all.deb gcc-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gcc-3.3_3.3-1_i386.deb gcc-3.3_3.3ds9-1.diff.gz to pool/main/g/gcc-3.3/gcc-3.3_3.3ds9-1.diff.gz gcc-3.3_3.3ds9-1.dsc to pool/main/g/gcc-3.3/gcc-3.3_3.3ds9-1.dsc gcc-3.3_3.3ds9.orig.tar.gz to pool/main/g/gcc-3.3/gcc-3.3_3.3ds9.orig.tar.gz gcj-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gcj-3.3_3.3-1_i386.deb gij-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gij-3.3_3.3-1_i386.deb gnat-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/gnat-3.3-doc_3.3-1_all.deb gnat-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gnat-3.3_3.3-1_i386.deb gobjc-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gobjc-3.3_3.3-1_i386.deb gpc-2.1-3.3-doc_3.3.20030507-1_all.deb to pool/main/g/gcc-3.3/gpc-2.1-3.3-doc_3.3.20030507-1_all.deb gpc-2.1-3.3_3.3.20030507-1_i386.deb to pool/main/g/gcc-3.3/gpc-2.1-3.3_3.3.20030507-1_i386.deb libffi2-dev_3.3-1_i386.deb to pool/main/g/gcc-3.3/libffi2-dev_3.3-1_i386.deb libffi2_3.3-1_i386.deb to pool/main/g/gcc-3.3/libffi2_3.3-1_i386.deb libg2c0_3.3-1_i386.deb to pool/main/g/gcc-3.3/libg2c0_3.3-1_i386.deb libgcc1_3.3-1_i386.deb to pool/main/g/gcc-3.3/libgcc1_3.3-1_i386.deb libgcj-common_3.3-1_i386.deb to pool/main/g/gcc-3.3/libgcj-common_3.3-1_i386.deb libgcj4-dev_3.3-1_i386.deb to pool/main/g/gcc-3.3/libgcj4-dev_3.3-1_i386.deb libgcj4_3.3-1_i386.deb to pool/main/g/gcc-3.3/libgcj4_3.3-1_i386.deb libobjc1_3.3-1_i386.deb to pool/main/g/gcc-3.3/libobjc1_3.3-1_i386.deb libstdc++5-3.3-dbg_3.3-1_i386.deb to pool/main/g/gcc-3.3/libstdc++5-3.3-dbg_3.3-1_i386.deb libstdc++5-3.3-dev_3.3-1_i386.deb to pool/main/g/gcc-3.3/libstdc++5-3.3-dev_3.3-1_i386.deb libstdc++5-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/libstdc++5-3.3-doc_3.3-1_all.deb libstdc++5-3.3-pic_3.3-1_i386.deb to pool/main/g/gcc-3.3/libstdc++5-3.3-pic_3.3-1_i386.deb libstdc++5_3.3-1_i386.deb to pool/main/g/gcc-3.3/libstdc++5_3.3-1_i386.deb protoize_3.3-1_i386.deb to pool/main/g/gcc-3.3/protoize_3.3-1_i386.deb treelang-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/treelang-3.3_3.3-1_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 85535@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Matthias Klose (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) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Fri, 16 May 2003 07:13:57 +0200 Source: gcc-3.3 Binary: libgnat3.15 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 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 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.3ds9-1 Distribution: unstable Urgency: low Maintainer: Debian GCC maintainers Changed-By: Matthias Klose Description: 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 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: 2910 12253 20695 21255 27878 33786 34876 35477 42662 42989 43001 43119 43170 45440 46181 47981 48530 50529 51456 51651 53698 55291 55967 56867 58219 59005 59232 61806 62309 64628 64832 65406 65686 65687 67631 68963 68987 70743 72933 79225 80468 81122 83221 83363 83550 84969 85535 85934 87540 88260 88694 90363 90666 93708 94701 94891 95318 97603 105309 105569 114029 118670 118781 120333 127489 128367 130415 131454 131890 134558 136630 136659 137382 140427 141797 142844 144602 146006 148603 150558 151196 151357 151671 151675 152315 152709 154599 154767 156450 157292 158704 161615 162074 165110 165829 165992 166766 167439 168310 168346 170994 172956 176387 178596 178830 178909 178965 179363 179597 180493 180567 180750 180937 181679 184108 184753 184800 184862 185903 186139 186299 186447 187910 188527 189702 190066 191407 Changes: gcc-3.3 (1:3.3ds9-1) unstable; urgency=low . * gcc-3.3 final release. See /usr/share/doc/gcc-3.3/NEWS.{gcc,html}. * First merge of i386/x86-64 biarch support (Arnd Bergmann). Disabled by default. Closes: #190066. * New gpc-20030507 version. * Upstream gpc update to fix netbsd build failure (closes: #191407). * Add arm-xscale.dpatch, arm-10730.dpatch, arm-tune.dpatch, copied from gcc-3.2 (Phil Blundell). * Closing bug reports reported against older gcc versions (some of them still present in Debian, but not anymore as the default compiler). Usually, forwarded bug reports are linked to http://gcc.gnu.org/PR The upstream bug number usually can be found in the Debian reports. . * Closed reports reported against gcc-3.1.x, gcc-3.2.x and fixed in gcc-3.3: - General: + GCC accepts multi-line strings without \ or " " &c (closes: #2910). + -print-file-name sometimes fails (closes: #161615). + ICE: reporting routines re-entered (closes: #179597, #180937). + Misplaced paragraph in gcc documentation (closes: #179363). + Error: suffix or operands invalid for `div' (closes: #150558). + builtin memcmp() could be optimised (closes: #85535). - Ada: + Preelaborate, exceptions, and -gnatN (closes: #181679). - C: + Duplicate loop conditions even with -Os (closes: #94701). + ICE (signal 11) (closes: #65686). - C++: + C++ error on virtual function which uses ... (closes: #165829). + ICE when warning about cleanup nastiness in switch statements (closes: #184108). + Fails to compile virtual inheritance with variable number of argument method (closes: #151357). + xmmintrin.h broken for c++ (closes: #168310). + Stack corruption with variable-length automatic arrays and virtual destructors (closes: #188527). + ICE on illegal code (closes: #184862). + _attribute__((unused)) is ignored in C++ (closes: #45440). + g++ handles &(void *)foo bizzarely (closes: #79225). + ICE (with wrong code, though) (closes: #81122). - Java: + Broken zip file handling (closes: #180567). - ObjC: + @protocol forward definitions do not work (closes: #80468). - Architecture specific: - alpha + va_start is off by one (closes: #186139). + ICE while building kseg/ddd (closes: #184753). + g++ -O2 optimization error (closes: #70743). - arm + ICE with -O2 in change_address_1 (closes: #180750). + gcc optimization error with -O2, affecting bison (closes: #185903). - hppa + ICE in insn_default_length (closes: #186447). - ia64 + gcc-3.2 fails w/ optimization (closes: #178830). - i386 + unnecessary generation of instruction cwtl (closes: #95318). + {athlon} ICE building mplayer (closes: #184800). + {pentium4} ICE while compiling mozilla with -march=pentium4 (closes: #187910). + i386 optimisation: joining tests (closes: #105309). - m68k + ICE in instantiate_virtual_regs_1 (closes: #180493). + gcc optimizer bug on m68k (closes: #64832). - powerpc + ICE in extract_insn, at recog.c:2175 building php3 (closes: #186299). + ICE with -O -Wunreachable-code (closes: #189702). - s390 + Operand out of range at assembly time when using -O2 (closes: #178596). - sparc + gcc-3.2 regression (wrong code) (closes: #176387). + ICE in mem_loc_descriptor when optimizing (closes: #178909). + ICE in gen_reg_rtx when optimizing (closes: #178965). + Optimisation leads to unaligned access in memcpy (closes: #136659). . * Closed reports reported against gcc-3.0 and fixed in gcc-3.2.x: - General: + Use mkstemp instead of mktemp (closed: #127802). - Preprocessor: + Fix redundant error message from cpp (closed: #100722). - C: + Optimization issue on ix86 (pointless moving) (closed: #97904). + Miscompilation of allegro on ix86 (closed: #105741). + Fix generation of ..ng references for static aliases (alpha-linux). (closed: #108036). + ICE compiling pari on hppa (closed: #111613). + ICE on ia64 in instantiate_virtual_regs_1 (closed: #121668). + ICE in c-typeck.c (closed: #123687). + ICE in gen_subprogram_die on alpha (closed: #127890). + SEGV in initialization of flexible char array member (closed: #131399). + ICE on arm compiling lapack (closed: #135967). + ICE in incomplete_type_error (closed: #140606). + Fix -Wswitch (also part of -Wall) (closed: #140995). + Wrong code in mke2fs on hppa (closed: #150232). + sin(a) * sin(b) gives wrong result (closed: #164135). - C++: + Error in std library headers on arm (closed: #107633). + ICE nr. 19970302 (closed: #119635). + std::wcout does not perform encoding conversions (closed: #128026). + SEGV, when compiling iostream.h with -fPIC (closed: #134315). + Fixed segmentation fault in included code for (closed: #137017). + Fix with exception handling and -O (closed: #144232). + Fix octave-2.1 build failure on ia64 (closed: #144584). + nonstandard overloads in num_get facet (closed: #155900). + ICE in expand_end_loop with -O (closed: #158371). - Fortran: + Fix blas build failure on arm (closed: #137959). - Java: + Interface members are public by default (closed: #94974). + Strange message with -fno-bounds-check in combination with -W. (closed: #102353). + Crash in FileWriter using IOException (closed: #116128). + Fix ObjectInputStream.readObject() calling constructors. (closed: #121636). + gij: better error reporting on `class not found' (closed: #125649). + Lockup during .java->.class compilation (closed: #141899). + Compile breaks using temporary inner class instance (closed: #141900). + Default constructor for inner class causes broken bytecode. (closed: #141902). + gij-3.2 linked against libgcc1 (closed: #165180). + gij-wrapper understands -classpath parameter (closed: #146634). + gij-3.2 doesn't ignore -jar when run as "java" (closed: #167673). - ObjC: + ICE on alpha (closed: #172353). . * Closed reports reported against gcc-2.95 and fixed in newer versions: - General: + Undocumented option -pthread (closes: #165110). + stdbool.h broken (closes: #167439). + regparm/profiling breakage (closes: #20695). + another gcc optimization error (closes: #51456). + ICE in `output_fix_trunc' (closes: #55967). + Fix "Unable to generate reloads for" (closes: #58219, #131890). + gcc -c -MD x/y.c -o x/y.o leaves y.d in cwd (closes: #59232). + Compiler error with -O2 (closes: #67631). + ICE (unrecognizable insn) compiling php4 (closes: #83550, #84969). + Another ICE (closes: #90666). + man versus info inconsistency (-W and -Wall) (closes: #93708). + ICE on invalid extended asm (closes: #136630). + ICE in `emit_no_conflict_block' compiling perl (closes: #154599). + ICE in `gen_tagged_type_instantiation_die'(closes: #166766). + ICE on __builtin_memset(s, 0, -1) (closes: #170994). + -Q option to gcc appears twice in the documentation (closes: #137382). + New options for specifying targets:- -MQ and -MT (closes: #27878). + Configure using --enable-nls (closes: #51651). + gcc -dumpspecs undocumented (closes: #65406). - Preprocessor: + cpp fails to parse macros with varargs correctly(closes: #154767). + __VA_ARGS__ stringification crashes preprocessor if __VA_ARGS__ is empty (closes: #152709). + gcc doesn't handle empty args in macro function if there is only one arg(closes: #156450). - C: + Uncaught floating point exception causes ICE (closes: #33786). + gcc -fpack-struct doesn't pack structs (closes: #64628). + ICE in kernel (matroxfb) code (closes: #151196). + gcc doesn't warn about unreachable code (closes: #158704). + Fix docs for __builtin_return_address(closes: #165992). + C99 symbols in limits.h not defined (closes: #168346). + %zd printf spec generates warning, even in c9x mode (closes: #94891). + Update GCC attribute syntax (closes: #12253, #43119). - C++ & libstdc++-v3: + template and virtual inheritance bug (closes: #152315). + g++ has some troubles with nested templates (closes: #21255). + vtable thunks implementation is broken (closes: #34876, #35477). + ICE for templated friend (closes: #42662). + ICE compiling mnemonic (closes: #42989). + Deprecated: result naming doesn't work for functions defined in a class (closes: #43170). + volatile undefined ... (closes: #50529). + ICE concerning templates (closes: #53698). + Program compiled -O3 -malign-double segfaults in ofstream::~ofstream (closes: #56867). + __attribute__ ((constructor)) doesn't work with C++ (closes: #61806). + Another ICE (closes: #65687). + ICE in `const_hash' (closes: #72933). + ICE on illegal code (closes: #83221). + Wrong code with -O2 (closes: #83363). + ICE on template class (closes: #85934). + No warning for missing return in non-void member func (closes: #88260). + Not a bug/fixed in libgcc1: libgcc.a symbols end up exported by shared libraries (closes: #118670). + ICE using nested templates (closes: #118781). + Another ICE with templates (closes: #127489). + More ICEs (closes: #140427, #141797). + ICE when template declared after use(closes: #148603). + template function default arguments are not handled (closes: #157292). + Warning when including stl.h (closes: #162074). + g++ -pedantic-errors -D_GNU_SOURCE cannot #include (closes: #151671). + c++ error message improvement suggestion (closes: #46181). + Compilation error in stl_alloc.h with -fhonor-std (closes: #59005). + libstdc++ has no method at() in stl_= (closes: #68963). - Fortran: + g77 crash (closes: #130415). - ObjC: + ICE: program cc1obj got fatal signal 11 (closes: #62309). + Interface to garbage collector is undocumented. (closes: #68987). - Architecture specific: - alpha + Can't compile with define gnu_source with stdio and curses (closes: #97603). + Header conflicts on alpha (closes: #134558). + lapack-dev: cannot link on alpha (closes: #144602). + ICE `fixup_var_refs_1' (closes: #43001). + Mutt segv on viewing list of attachments (closes: #47981). + ICE building open-amulet (closes: #48530). + ICE compiling hatman (closes: #55291). + dead code removal in switch() broken (closes: #142844). - arm + Miscompilation using -fPIC on arm (closes: #90363). + infinite loop with -O on arm (closes: #151675). - i386 + ICE when using -mno-ieee-fp and -march=i686 (closes: #87540). - m68k + Optimization (-O2) broken on m68k (closes: #146006). - mips + g++ exception catching does not work... (closes: #105569). + update-menus gets Bus Error (closes: #120333). - mipsel + aspell: triggers ICE on mipsel (closes: #128367). - powerpc + -O2 produces wrong code (gnuchess example) (closes: #131454). - sparc + Misleading documentation for -malign-{jump,loop,function}s (closes: #114029). + Sparc GCC issue with -mcpu=ultrasparc (closes: #172956). + flightgear: build failure on sparc (closes: #88694). Files: 3d2b083f9a2b539d296ef5a911343705 2307 devel standard gcc-3.3_3.3ds9-1.dsc fa100f062223973e958be2ab18e5f688 24926760 devel standard gcc-3.3_3.3ds9.orig.tar.gz 37bbc04e3dad6b933a30504ec4fe6b08 2204853 devel standard gcc-3.3_3.3ds9-1.diff.gz 79ea1bdd209725be2bb3ee2e5537da48 82876 doc optional cpp-3.3-doc_3.3-1_all.deb 000578b291dde293992bcd0156f7a7d0 3093140 doc optional libstdc++5-3.3-doc_3.3-1_all.deb e59a1eb9c96c802db82d4e6b59af2541 274170 doc optional g77-3.3-doc_3.3-1_all.deb a857f599f57e548603c5ab9825b144ff 348964 doc optional gnat-3.3-doc_3.3-1_all.deb cb59ea86b3d2c4380e958c3eee6d962b 76210 doc optional gpc-2.1-3.3-doc_3.3.20030507-1_all.deb 292853d621b1c8b8ffa13c74e539e6ec 602750 doc optional gcc-3.3-doc_3.3-1_all.deb 216eac130d297e3e30b112d24a4bc8fd 138902 devel important gcc-3.3-base_3.3-1_i386.deb f3bb1d18e89f7af1f605da89cbaa2b2f 67788 libs important libgcc1_3.3-1_i386.deb b90a7bcee01d015cc7414be5c2f6d25c 1305878 interpreters standard cpp-3.3_3.3-1_i386.deb a3aab24cd88de2e34db3ad8a633ce125 22584 devel optional protoize_3.3-1_i386.deb b7654a977ea0da9b8fa54ddab189de5d 47206 devel optional fixincludes_3.3-1_i386.deb c63d3d44280d95bbe60ced8aad62c6a5 1379180 devel optional gobjc-3.3_3.3-1_i386.deb d2e1b5e3d520a38be5333be3ccfd2899 124356 libs optional libobjc1_3.3-1_i386.deb 9b7315a4e5f071018ec374b548b76228 12914 devel optional gij-3.3_3.3-1_i386.deb c9c6efe00a0679878685b1e84211e126 4010832 libs optional libgcj4_3.3-1_i386.deb fb35ad9b8ecb76c3982cb2384e359da3 54070 libs optional libgcj-common_3.3-1_i386.deb 558b45f1c621ea045eab117e32a87c69 1604634 devel optional gcj-3.3_3.3-1_i386.deb 06967a15447e2ef1dd04d5a04dea6699 4819306 libdevel optional libgcj4-dev_3.3-1_i386.deb 028dc977e84e9402617c718380f981dd 111618 devel extra fastjar_3.3-1_i386.deb 8757ca758feac2763aa62fddbe145429 64244 libs optional libffi2_3.3-1_i386.deb 70a7aab8f3f57cd9974f3023ceddee19 10724 libdevel optional libffi2-dev_3.3-1_i386.deb 979084825831a155c6f14da19e76ff79 1667548 devel standard g++-3.3_3.3-1_i386.deb a759a7b2f2204d6f7798d6c7cf08b712 268318 base important libstdc++5_3.3-1_i386.deb 48583aab7407576b4a9cf225cb22d60a 735648 libdevel optional libstdc++5-3.3-dev_3.3-1_i386.deb 98f58480d80c7222495e70600e2b49dd 309792 libdevel extra libstdc++5-3.3-pic_3.3-1_i386.deb 010ddd4bc2b901e2881ceadcae4d8731 5004206 libdevel extra libstdc++5-3.3-dbg_3.3-1_i386.deb d76d5d48818d2252e62f67fd8a0e338a 47258 libs optional libg2c0_3.3-1_i386.deb 4ec194476feb6c060caa878d44e4a9b7 1511860 devel optional g77-3.3_3.3-1_i386.deb 00192418de41835341ea92e8a105c1d8 6106558 devel optional gnat-3.3_3.3-1_i386.deb 70fbb333b1766707bbac9451d473793e 1238548 devel optional treelang-3.3_3.3-1_i386.deb 6f3a976e18c5d2bc5f31de344262b15f 1938336 devel optional gpc-2.1-3.3_3.3.20030507-1_i386.deb 342cf1a42b035e38dbe89003edafb18f 1295518 devel standard gcc-3.3_3.3-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+xnq0StlRaw+TLJwRAiLKAJ0WkgHHwXa9PnIFCznl9vaw+lPmPgCbBOKh LGKxwAkaRKfU3nZ6MRTiMUo= =53cd -----END PGP SIGNATURE-----   Received: (at 85535-close) by bugs.debian.org; 17 May 2003 21:40:52 +0000 From katie@auric.debian.org Sat May 17 16:40:51 2003 Return-path: Received: from auric.debian.org [206.246.226.45] (mail) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 19H9QB-0006GK-00; Sat, 17 May 2003 16:40:51 -0500 Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian)) id 19H9IW-0003UL-00; Sat, 17 May 2003 17:32:56 -0400 From: Matthias Klose To: 85535-close@bugs.debian.org X-Katie: $Revision: 1.34 $ Subject: Bug#85535: fixed in gcc-3.3 1:3.3ds9-1 Message-Id: Sender: Archive Administrator Date: Sat, 17 May 2003 17:32:56 -0400 Delivered-To: 85535-close@bugs.debian.org 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: cpp-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/cpp-3.3-doc_3.3-1_all.deb cpp-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/cpp-3.3_3.3-1_i386.deb fastjar_3.3-1_i386.deb to pool/main/g/gcc-3.3/fastjar_3.3-1_i386.deb fixincludes_3.3-1_i386.deb to pool/main/g/gcc-3.3/fixincludes_3.3-1_i386.deb g++-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/g++-3.3_3.3-1_i386.deb g77-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/g77-3.3-doc_3.3-1_all.deb g77-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/g77-3.3_3.3-1_i386.deb gcc-3.3-base_3.3-1_i386.deb to pool/main/g/gcc-3.3/gcc-3.3-base_3.3-1_i386.deb gcc-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/gcc-3.3-doc_3.3-1_all.deb gcc-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gcc-3.3_3.3-1_i386.deb gcc-3.3_3.3ds9-1.diff.gz to pool/main/g/gcc-3.3/gcc-3.3_3.3ds9-1.diff.gz gcc-3.3_3.3ds9-1.dsc to pool/main/g/gcc-3.3/gcc-3.3_3.3ds9-1.dsc gcc-3.3_3.3ds9.orig.tar.gz to pool/main/g/gcc-3.3/gcc-3.3_3.3ds9.orig.tar.gz gcj-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gcj-3.3_3.3-1_i386.deb gij-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gij-3.3_3.3-1_i386.deb gnat-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/gnat-3.3-doc_3.3-1_all.deb gnat-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gnat-3.3_3.3-1_i386.deb gobjc-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/gobjc-3.3_3.3-1_i386.deb gpc-2.1-3.3-doc_3.3.20030507-1_all.deb to pool/main/g/gcc-3.3/gpc-2.1-3.3-doc_3.3.20030507-1_all.deb gpc-2.1-3.3_3.3.20030507-1_i386.deb to pool/main/g/gcc-3.3/gpc-2.1-3.3_3.3.20030507-1_i386.deb libffi2-dev_3.3-1_i386.deb to pool/main/g/gcc-3.3/libffi2-dev_3.3-1_i386.deb libffi2_3.3-1_i386.deb to pool/main/g/gcc-3.3/libffi2_3.3-1_i386.deb libg2c0_3.3-1_i386.deb to pool/main/g/gcc-3.3/libg2c0_3.3-1_i386.deb libgcc1_3.3-1_i386.deb to pool/main/g/gcc-3.3/libgcc1_3.3-1_i386.deb libgcj-common_3.3-1_i386.deb to pool/main/g/gcc-3.3/libgcj-common_3.3-1_i386.deb libgcj4-dev_3.3-1_i386.deb to pool/main/g/gcc-3.3/libgcj4-dev_3.3-1_i386.deb libgcj4_3.3-1_i386.deb to pool/main/g/gcc-3.3/libgcj4_3.3-1_i386.deb libobjc1_3.3-1_i386.deb to pool/main/g/gcc-3.3/libobjc1_3.3-1_i386.deb libstdc++5-3.3-dbg_3.3-1_i386.deb to pool/main/g/gcc-3.3/libstdc++5-3.3-dbg_3.3-1_i386.deb libstdc++5-3.3-dev_3.3-1_i386.deb to pool/main/g/gcc-3.3/libstdc++5-3.3-dev_3.3-1_i386.deb libstdc++5-3.3-doc_3.3-1_all.deb to pool/main/g/gcc-3.3/libstdc++5-3.3-doc_3.3-1_all.deb libstdc++5-3.3-pic_3.3-1_i386.deb to pool/main/g/gcc-3.3/libstdc++5-3.3-pic_3.3-1_i386.deb libstdc++5_3.3-1_i386.deb to pool/main/g/gcc-3.3/libstdc++5_3.3-1_i386.deb protoize_3.3-1_i386.deb to pool/main/g/gcc-3.3/protoize_3.3-1_i386.deb treelang-3.3_3.3-1_i386.deb to pool/main/g/gcc-3.3/treelang-3.3_3.3-1_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 85535@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Matthias Klose (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) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Fri, 16 May 2003 07:13:57 +0200 Source: gcc-3.3 Binary: libgnat3.15 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 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 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.3ds9-1 Distribution: unstable Urgency: low Maintainer: Debian GCC maintainers Changed-By: Matthias Klose Description: 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 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: 2910 12253 20695 21255 27878 33786 34876 35477 42662 42989 43001 43119 43170 45440 46181 47981 48530 50529 51456 51651 53698 55291 55967 56867 58219 59005 59232 61806 62309 64628 64832 65406 65686 65687 67631 68963 68987 70743 72933 79225 80468 81122 83221 83363 83550 84969 85535 85934 87540 88260 88694 90363 90666 93708 94701 94891 95318 97603 105309 105569 114029 118670 118781 120333 127489 128367 130415 131454 131890 134558 136630 136659 137382 140427 141797 142844 144602 146006 148603 150558 151196 151357 151671 151675 152315 152709 154599 154767 156450 157292 158704 161615 162074 165110 165829 165992 166766 167439 168310 168346 170994 172956 176387 178596 178830 178909 178965 179363 179597 180493 180567 180750 180937 181679 184108 184753 184800 184862 185903 186139 186299 186447 187910 188527 189702 190066 191407 Changes: gcc-3.3 (1:3.3ds9-1) unstable; urgency=low . * gcc-3.3 final release. See /usr/share/doc/gcc-3.3/NEWS.{gcc,html}. * First merge of i386/x86-64 biarch support (Arnd Bergmann). Disabled by default. Closes: #190066. * New gpc-20030507 version. * Upstream gpc update to fix netbsd build failure (closes: #191407). * Add arm-xscale.dpatch, arm-10730.dpatch, arm-tune.dpatch, copied from gcc-3.2 (Phil Blundell). * Closing bug reports reported against older gcc versions (some of them still present in Debian, but not anymore as the default compiler). Usually, forwarded bug reports are linked to http://gcc.gnu.org/PR The upstream bug number usually can be found in the Debian reports. . * Closed reports reported against gcc-3.1.x, gcc-3.2.x and fixed in gcc-3.3: - General: + GCC accepts multi-line strings without \ or " " &c (closes: #2910). + -print-file-name sometimes fails (closes: #161615). + ICE: reporting routines re-entered (closes: #179597, #180937). + Misplaced paragraph in gcc documentation (closes: #179363). + Error: suffix or operands invalid for `div' (closes: #150558). + builtin memcmp() could be optimised (closes: #85535). - Ada: + Preelaborate, exceptions, and -gnatN (closes: #181679). - C: + Duplicate loop conditions even with -Os (closes: #94701). + ICE (signal 11) (closes: #65686). - C++: + C++ error on virtual function which uses ... (closes: #165829). + ICE when warning about cleanup nastiness in switch statements (closes: #184108). + Fails to compile virtual inheritance with variable number of argument method (closes: #151357). + xmmintrin.h broken for c++ (closes: #168310). + Stack corruption with variable-length automatic arrays and virtual destructors (closes: #188527). + ICE on illegal code (closes: #184862). + _attribute__((unused)) is ignored in C++ (closes: #45440). + g++ handles &(void *)foo bizzarely (closes: #79225). + ICE (with wrong code, though) (closes: #81122). - Java: + Broken zip file handling (closes: #180567). - ObjC: + @protocol forward definitions do not work (closes: #80468). - Architecture specific: - alpha + va_start is off by one (closes: #186139). + ICE while building kseg/ddd (closes: #184753). + g++ -O2 optimization error (closes: #70743). - arm + ICE with -O2 in change_address_1 (closes: #180750). + gcc optimization error with -O2, affecting bison (closes: #185903). - hppa + ICE in insn_default_length (closes: #186447). - ia64 + gcc-3.2 fails w/ optimization (closes: #178830). - i386 + unnecessary generation of instruction cwtl (closes: #95318). + {athlon} ICE building mplayer (closes: #184800). + {pentium4} ICE while compiling mozilla with -march=pentium4 (closes: #187910). + i386 optimisation: joining tests (closes: #105309). - m68k + ICE in instantiate_virtual_regs_1 (closes: #180493). + gcc optimizer bug on m68k (closes: #64832). - powerpc + ICE in extract_insn, at recog.c:2175 building php3 (closes: #186299). + ICE with -O -Wunreachable-code (closes: #189702). - s390 + Operand out of range at assembly time when using -O2 (closes: #178596). - sparc + gcc-3.2 regression (wrong code) (closes: #176387). + ICE in mem_loc_descriptor when optimizing (closes: #178909). + ICE in gen_reg_rtx when optimizing (closes: #178965). + Optimisation leads to unaligned access in memcpy (closes: #136659). . * Closed reports reported against gcc-3.0 and fixed in gcc-3.2.x: - General: + Use mkstemp instead of mktemp (closed: #127802). - Preprocessor: + Fix redundant error message from cpp (closed: #100722). - C: + Optimization issue on ix86 (pointless moving) (closed: #97904). + Miscompilation of allegro on ix86 (closed: #105741). + Fix generation of ..ng references for static aliases (alpha-linux). (closed: #108036). + ICE compiling pari on hppa (closed: #111613). + ICE on ia64 in instantiate_virtual_regs_1 (closed: #121668). + ICE in c-typeck.c (closed: #123687). + ICE in gen_subprogram_die on alpha (closed: #127890). + SEGV in initialization of flexible char array member (closed: #131399). + ICE on arm compiling lapack (closed: #135967). + ICE in incomplete_type_error (closed: #140606). + Fix -Wswitch (also part of -Wall) (closed: #140995). + Wrong code in mke2fs on hppa (closed: #150232). + sin(a) * sin(b) gives wrong result (closed: #164135). - C++: + Error in std library headers on arm (closed: #107633). + ICE nr. 19970302 (closed: #119635). + std::wcout does not perform encoding conversions (closed: #128026). + SEGV, when compiling iostream.h with -fPIC (closed: #134315). + Fixed segmentation fault in included code for (closed: #137017). + Fix with exception handling and -O (closed: #144232). + Fix octave-2.1 build failure on ia64 (closed: #144584). + nonstandard overloads in num_get facet (closed: #155900). + ICE in expand_end_loop with -O (closed: #158371). - Fortran: + Fix blas build failure on arm (closed: #137959). - Java: + Interface members are public by default (closed: #94974). + Strange message with -fno-bounds-check in combination with -W. (closed: #102353). + Crash in FileWriter using IOException (closed: #116128). + Fix ObjectInputStream.readObject() calling constructors. (closed: #121636). + gij: better error reporting on `class not found' (closed: #125649). + Lockup during .java->.class compilation (closed: #141899). + Compile breaks using temporary inner class instance (closed: #141900). + Default constructor for inner class causes broken bytecode. (closed: #141902). + gij-3.2 linked against libgcc1 (closed: #165180). + gij-wrapper understands -classpath parameter (closed: #146634). + gij-3.2 doesn't ignore -jar when run as "java" (closed: #167673). - ObjC: + ICE on alpha (closed: #172353). . * Closed reports reported against gcc-2.95 and fixed in newer versions: - General: + Undocumented option -pthread (closes: #165110). + stdbool.h broken (closes: #167439). + regparm/profiling breakage (closes: #20695). + another gcc optimization error (closes: #51456). + ICE in `output_fix_trunc' (closes: #55967). + Fix "Unable to generate reloads for" (closes: #58219, #131890). + gcc -c -MD x/y.c -o x/y.o leaves y.d in cwd (closes: #59232). + Compiler error with -O2 (closes: #67631). + ICE (unrecognizable insn) compiling php4 (closes: #83550, #84969). + Another ICE (closes: #90666). + man versus info inconsistency (-W and -Wall) (closes: #93708). + ICE on invalid extended asm (closes: #136630). + ICE in `emit_no_conflict_block' compiling perl (closes: #154599). + ICE in `gen_tagged_type_instantiation_die'(closes: #166766). + ICE on __builtin_memset(s, 0, -1) (closes: #170994). + -Q option to gcc appears twice in the documentation (closes: #137382). + New options for specifying targets:- -MQ and -MT (closes: #27878). + Configure using --enable-nls (closes: #51651). + gcc -dumpspecs undocumented (closes: #65406). - Preprocessor: + cpp fails to parse macros with varargs correctly(closes: #154767). + __VA_ARGS__ stringification crashes preprocessor if __VA_ARGS__ is empty (closes: #152709). + gcc doesn't handle empty args in macro function if there is only one arg(closes: #156450). - C: + Uncaught floating point exception causes ICE (closes: #33786). + gcc -fpack-struct doesn't pack structs (closes: #64628). + ICE in kernel (matroxfb) code (closes: #151196). + gcc doesn't warn about unreachable code (closes: #158704). + Fix docs for __builtin_return_address(closes: #165992). + C99 symbols in limits.h not defined (closes: #168346). + %zd printf spec generates warning, even in c9x mode (closes: #94891). + Update GCC attribute syntax (closes: #12253, #43119). - C++ & libstdc++-v3: + template and virtual inheritance bug (closes: #152315). + g++ has some troubles with nested templates (closes: #21255). + vtable thunks implementation is broken (closes: #34876, #35477). + ICE for templated friend (closes: #42662). + ICE compiling mnemonic (closes: #42989). + Deprecated: result naming doesn't work for functions defined in a class (closes: #43170). + volatile undefined ... (closes: #50529). + ICE concerning templates (closes: #53698). + Program compiled -O3 -malign-double segfaults in ofstream::~ofstream (closes: #56867). + __attribute__ ((constructor)) doesn't work with C++ (closes: #61806). + Another ICE (closes: #65687). + ICE in `const_hash' (closes: #72933). + ICE on illegal code (closes: #83221). + Wrong code with -O2 (closes: #83363). + ICE on template class (closes: #85934). + No warning for missing return in non-void member func (closes: #88260). + Not a bug/fixed in libgcc1: libgcc.a symbols end up exported by shared libraries (closes: #118670). + ICE using nested templates (closes: #118781). + Another ICE with templates (closes: #127489). + More ICEs (closes: #140427, #141797). + ICE when template declared after use(closes: #148603). + template function default arguments are not handled (closes: #157292). + Warning when including stl.h (closes: #162074). + g++ -pedantic-errors -D_GNU_SOURCE cannot #include (closes: #151671). + c++ error message improvement suggestion (closes: #46181). + Compilation error in stl_alloc.h with -fhonor-std (closes: #59005). + libstdc++ has no method at() in stl_= (closes: #68963). - Fortran: + g77 crash (closes: #130415). - ObjC: + ICE: program cc1obj got fatal signal 11 (closes: #62309). + Interface to garbage collector is undocumented. (closes: #68987). - Architecture specific: - alpha + Can't compile with define gnu_source with stdio and curses (closes: #97603). + Header conflicts on alpha (closes: #134558). + lapack-dev: cannot link on alpha (closes: #144602). + ICE `fixup_var_refs_1' (closes: #43001). + Mutt segv on viewing list of attachments (closes: #47981). + ICE building open-amulet (closes: #48530). + ICE compiling hatman (closes: #55291). + dead code removal in switch() broken (closes: #142844). - arm + Miscompilation using -fPIC on arm (closes: #90363). + infinite loop with -O on arm (closes: #151675). - i386 + ICE when using -mno-ieee-fp and -march=i686 (closes: #87540). - m68k + Optimization (-O2) broken on m68k (closes: #146006). - mips + g++ exception catching does not work... (closes: #105569). + update-menus gets Bus Error (closes: #120333). - mipsel + aspell: triggers ICE on mipsel (closes: #128367). - powerpc + -O2 produces wrong code (gnuchess example) (closes: #131454). - sparc + Misleading documentation for -malign-{jump,loop,function}s (closes: #114029). + Sparc GCC issue with -mcpu=ultrasparc (closes: #172956). + flightgear: build failure on sparc (closes: #88694). Files: 3d2b083f9a2b539d296ef5a911343705 2307 devel standard gcc-3.3_3.3ds9-1.dsc fa100f062223973e958be2ab18e5f688 24926760 devel standard gcc-3.3_3.3ds9.orig.tar.gz 37bbc04e3dad6b933a30504ec4fe6b08 2204853 devel standard gcc-3.3_3.3ds9-1.diff.gz 79ea1bdd209725be2bb3ee2e5537da48 82876 doc optional cpp-3.3-doc_3.3-1_all.deb 000578b291dde293992bcd0156f7a7d0 3093140 doc optional libstdc++5-3.3-doc_3.3-1_all.deb e59a1eb9c96c802db82d4e6b59af2541 274170 doc optional g77-3.3-doc_3.3-1_all.deb a857f599f57e548603c5ab9825b144ff 348964 doc optional gnat-3.3-doc_3.3-1_all.deb cb59ea86b3d2c4380e958c3eee6d962b 76210 doc optional gpc-2.1-3.3-doc_3.3.20030507-1_all.deb 292853d621b1c8b8ffa13c74e539e6ec 602750 doc optional gcc-3.3-doc_3.3-1_all.deb 216eac130d297e3e30b112d24a4bc8fd 138902 devel important gcc-3.3-base_3.3-1_i386.deb f3bb1d18e89f7af1f605da89cbaa2b2f 67788 libs important libgcc1_3.3-1_i386.deb b90a7bcee01d015cc7414be5c2f6d25c 1305878 interpreters standard cpp-3.3_3.3-1_i386.deb a3aab24cd88de2e34db3ad8a633ce125 22584 devel optional protoize_3.3-1_i386.deb b7654a977ea0da9b8fa54ddab189de5d 47206 devel optional fixincludes_3.3-1_i386.deb c63d3d44280d95bbe60ced8aad62c6a5 1379180 devel optional gobjc-3.3_3.3-1_i386.deb d2e1b5e3d520a38be5333be3ccfd2899 124356 libs optional libobjc1_3.3-1_i386.deb 9b7315a4e5f071018ec374b548b76228 12914 devel optional gij-3.3_3.3-1_i386.deb c9c6efe00a0679878685b1e84211e126 4010832 libs optional libgcj4_3.3-1_i386.deb fb35ad9b8ecb76c3982cb2384e359da3 54070 libs optional libgcj-common_3.3-1_i386.deb 558b45f1c621ea045eab117e32a87c69 1604634 devel optional gcj-3.3_3.3-1_i386.deb 06967a15447e2ef1dd04d5a04dea6699 4819306 libdevel optional libgcj4-dev_3.3-1_i386.deb 028dc977e84e9402617c718380f981dd 111618 devel extra fastjar_3.3-1_i386.deb 8757ca758feac2763aa62fddbe145429 64244 libs optional libffi2_3.3-1_i386.deb 70a7aab8f3f57cd9974f3023ceddee19 10724 libdevel optional libffi2-dev_3.3-1_i386.deb 979084825831a155c6f14da19e76ff79 1667548 devel standard g++-3.3_3.3-1_i386.deb a759a7b2f2204d6f7798d6c7cf08b712 268318 base important libstdc++5_3.3-1_i386.deb 48583aab7407576b4a9cf225cb22d60a 735648 libdevel optional libstdc++5-3.3-dev_3.3-1_i386.deb 98f58480d80c7222495e70600e2b49dd 309792 libdevel extra libstdc++5-3.3-pic_3.3-1_i386.deb 010ddd4bc2b901e2881ceadcae4d8731 5004206 libdevel extra libstdc++5-3.3-dbg_3.3-1_i386.deb d76d5d48818d2252e62f67fd8a0e338a 47258 libs optional libg2c0_3.3-1_i386.deb 4ec194476feb6c060caa878d44e4a9b7 1511860 devel optional g77-3.3_3.3-1_i386.deb 00192418de41835341ea92e8a105c1d8 6106558 devel optional gnat-3.3_3.3-1_i386.deb 70fbb333b1766707bbac9451d473793e 1238548 devel optional treelang-3.3_3.3-1_i386.deb 6f3a976e18c5d2bc5f31de344262b15f 1938336 devel optional gpc-2.1-3.3_3.3.20030507-1_i386.deb 342cf1a42b035e38dbe89003edafb18f 1295518 devel standard gcc-3.3_3.3-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+xnq0StlRaw+TLJwRAiLKAJ0WkgHHwXa9PnIFCznl9vaw+lPmPgCbBOKh LGKxwAkaRKfU3nZ6MRTiMUo= =53cd -----END PGP SIGNATURE-----   Information forwarded to debian-bugs-dist@lists.debian.org, Debian GCC maintainers <debian-gcc@lists.debian.org>, gcc-defaults@packages.qa.debian.org:
Bug#85535; Package gcc.   debian-bugs-dist@lists.debian.orgDebian GCC maintainers gcc-defaults@packages.qa.debian.org  X-Loop: owner@bugs.debian.org Subject: Bug#85535: acknowledged by developer (Bug#85535: fixed in gcc-3.3 1:3.3ds9-1) Reply-To: Herbert Xu , 85535@bugs.debian.org Resent-From: Herbert Xu Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Debian GCC maintainers , gcc-defaults@packages.qa.debian.org Resent-Date: Sat, 24 May 2003 12:18:11 GMT Resent-Message-ID: Resent-Sender: owner@bugs.debian.org X-Debian-PR-Message: report 85535 X-Debian-PR-Package: gcc X-Debian-PR-Keywords: fixed Received: via spool by 85535-submit@bugs.debian.org id=B85535.105377838623951 (code B ref 85535); Sat, 24 May 2003 12:18:11 GMT Received: (at 85535) by bugs.debian.org; 24 May 2003 12:13:06 +0000 Received: from arnor.apana.org.au (arnor.me.apana.org.au) [203.14.152.115] by master.debian.org with esmtp (Exim 3.35 1 (Debian)) id 19JXtU-0006Di-00; Sat, 24 May 2003 07:13:01 -0500 Received: from gondolin.me.apana.org.au ([192.168.0.6] ident=mail) by arnor.me.apana.org.au with esmtp (Exim 3.35 #1 (Debian)) id 19JXtS-0007lq-00; Sat, 24 May 2003 22:12:58 +1000 Received: from herbert by gondolin.me.apana.org.au with local (Exim 3.36 #1 (Debian)) id 19JXtR-0005g4-00; Sat, 24 May 2003 22:12:57 +1000 Date: Sat, 24 May 2003 22:12:57 +1000 To: 85535@bugs.debian.org Message-ID: <20030524121257.GB21720@gondor.apana.org.au> References: <200102102334.f1ANY8802784@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i From: Herbert Xu Delivered-To: 85535@bugs.debian.org X-Spam-Status: No, hits=-18.6 required=4.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.53-bugs.debian.org_2003_05_24 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_24 (1.174.2.15-2003-03-30-exp) reopen 85535 quit On Sat, May 17, 2003 at 04:51:38PM -0500, Debian Bug Tracking System wrote: > This is an automatic notification regarding your Bug report > #85535: [fixed in gcc-3.1, PR optimization/3508]: builtin memcmp() could be optimised, > which was filed against the gcc package. > > It has been closed by one of the developers, namely > Matthias Klose . Unfortunately this bug has only been special cased rather than fixed in its full generality. If we change one of the arguments to a variable, the compiler still fails to produce the dword comparison that I would expect: -- a.c -- int foo(const char *s) { return !memcmp("abcd", s, 4); } -- gcc -S -O2 a.c -- .LC0: .string "abcd" .text .p2align 2,,3 .globl foo .type foo, @function foo: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi movl 8(%ebp), %edi movl $.LC0, %esi movl $4, %ecx cld repz cmpsb sete %al popl %esi movzbl %al, %eax popl %edi leave ret .size foo, .-foo .ident "GCC: (GNU) 3.3 20030509 (Debian prerelease)" -- Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt   Acknowledgement sent to Herbert Xu <herbert@gondor.apana.org.au>:
Extra info received and forwarded to list. Copy sent to Debian GCC maintainers <debian-gcc@lists.debian.org>, gcc-defaults@packages.qa.debian.org.   -t  X-Loop: owner@bugs.debian.org From: owner@bugs.debian.org (Debian Bug Tracking System) To: Herbert Xu Subject: Bug#85535: Info received (was Bug#85535 acknowledged by developer (Bug#85535: fixed in gcc-3.3 1:3.3ds9-1)) Message-ID: In-Reply-To: <20030524121257.GB21720@gondor.apana.org.au> References: <20030524121257.GB21720@gondor.apana.org.au> Precedence: bulk X-Debian-PR-Message: ack-info 85535 X-Debian-PR-Package: gcc X-Debian-PR-Keywords: fixed Disabled-Doogie-Reply-To: 85535@bugs.debian.org Thank you for the additional information you have supplied regarding this problem report. It has been forwarded to the developer(s) and to the developers mailing list to accompany the original report. Your message has been sent to the package maintainer(s): Debian GCC maintainers If you wish to continue to submit further information on your problem, please send it to 85535@bugs.debian.org, as before. Please do not reply to the address at the top of this message, unless you wish to report a problem with the Bug-tracking system. Debian bug tracking system administrator (administrator, Debian Bugs database)   Received: (at 85535) by bugs.debian.org; 24 May 2003 12:13:06 +0000 From herbert@gondor.apana.org.au Sat May 24 07:13:05 2003 Return-path: Received: from arnor.apana.org.au (arnor.me.apana.org.au) [203.14.152.115] by master.debian.org with esmtp (Exim 3.35 1 (Debian)) id 19JXtU-0006Di-00; Sat, 24 May 2003 07:13:01 -0500 Received: from gondolin.me.apana.org.au ([192.168.0.6] ident=mail) by arnor.me.apana.org.au with esmtp (Exim 3.35 #1 (Debian)) id 19JXtS-0007lq-00; Sat, 24 May 2003 22:12:58 +1000 Received: from herbert by gondolin.me.apana.org.au with local (Exim 3.36 #1 (Debian)) id 19JXtR-0005g4-00; Sat, 24 May 2003 22:12:57 +1000 Date: Sat, 24 May 2003 22:12:57 +1000 To: 85535@bugs.debian.org Subject: Re: Bug#85535 acknowledged by developer (Bug#85535: fixed in gcc-3.3 1:3.3ds9-1) Message-ID: <20030524121257.GB21720@gondor.apana.org.au> References: <200102102334.f1ANY8802784@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i From: Herbert Xu Delivered-To: 85535@bugs.debian.org X-Spam-Status: No, hits=-18.6 required=4.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.53-bugs.debian.org_2003_05_24 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_24 (1.174.2.15-2003-03-30-exp) reopen 85535 quit On Sat, May 17, 2003 at 04:51:38PM -0500, Debian Bug Tracking System wrote: > This is an automatic notification regarding your Bug report > #85535: [fixed in gcc-3.1, PR optimization/3508]: builtin memcmp() could be optimised, > which was filed against the gcc package. > > It has been closed by one of the developers, namely > Matthias Klose . Unfortunately this bug has only been special cased rather than fixed in its full generality. If we change one of the arguments to a variable, the compiler still fails to produce the dword comparison that I would expect: -- a.c -- int foo(const char *s) { return !memcmp("abcd", s, 4); } -- gcc -S -O2 a.c -- .LC0: .string "abcd" .text .p2align 2,,3 .globl foo .type foo, @function foo: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi movl 8(%ebp), %edi movl $.LC0, %esi movl $4, %ecx cld repz cmpsb sete %al popl %esi movzbl %al, %eax popl %edi leave ret .size foo, .-foo .ident "GCC: (GNU) 3.3 20030509 (Debian prerelease)" -- Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt   Bug reopened, originator not changed. Request was from Herbert Xu <herbert@gondor.apana.org.au> to control@bugs.debian.org.   Received: (at control) by bugs.debian.org; 24 May 2003 12:13:05 +0000 From herbert@gondor.apana.org.au Sat May 24 07:13:02 2003 Return-path: Received: from arnor.apana.org.au (arnor.me.apana.org.au) [203.14.152.115] by master.debian.org with esmtp (Exim 3.35 1 (Debian)) id 19JXtU-0006Di-00; Sat, 24 May 2003 07:13:01 -0500 Received: from gondolin.me.apana.org.au ([192.168.0.6] ident=mail) by arnor.me.apana.org.au with esmtp (Exim 3.35 #1 (Debian)) id 19JXtS-0007lq-00; Sat, 24 May 2003 22:12:58 +1000 Received: from herbert by gondolin.me.apana.org.au with local (Exim 3.36 #1 (Debian)) id 19JXtR-0005g4-00; Sat, 24 May 2003 22:12:57 +1000 Date: Sat, 24 May 2003 22:12:57 +1000 To: 85535@bugs.debian.org Subject: Re: Bug#85535 acknowledged by developer (Bug#85535: fixed in gcc-3.3 1:3.3ds9-1) Message-ID: <20030524121257.GB21720@gondor.apana.org.au> References: <200102102334.f1ANY8802784@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i From: Herbert Xu Delivered-To: control@bugs.debian.org X-Spam-Status: No, hits=-18.6 required=4.0 tests=BAYES_20,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.53-bugs.debian.org_2003_05_24 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_24 (1.174.2.15-2003-03-30-exp) reopen 85535 quit On Sat, May 17, 2003 at 04:51:38PM -0500, Debian Bug Tracking System wrote: > This is an automatic notification regarding your Bug report > #85535: [fixed in gcc-3.1, PR optimization/3508]: builtin memcmp() could be optimised, > which was filed against the gcc package. > > It has been closed by one of the developers, namely > Matthias Klose . Unfortunately this bug has only been special cased rather than fixed in its full generality. If we change one of the arguments to a variable, the compiler still fails to produce the dword comparison that I would expect: -- a.c -- int foo(const char *s) { return !memcmp("abcd", s, 4); } -- gcc -S -O2 a.c -- .LC0: .string "abcd" .text .p2align 2,,3 .globl foo .type foo, @function foo: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi movl 8(%ebp), %edi movl $.LC0, %esi movl $4, %ecx cld repz cmpsb sete %al popl %esi movzbl %al, %eax popl %edi leave ret .size foo, .-foo .ident "GCC: (GNU) 3.3 20030509 (Debian prerelease)" -- Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt   Tags removed: fixed Request was from Matthias Klose <doko@cs.tu-berlin.de> to control@bugs.debian.org.   Received: (at control) by bugs.debian.org; 6 Jul 2003 16:08:47 +0000 From doko@cs.tu-berlin.de Sun Jul 06 11:05:00 2003 Return-path: Received: from mail.cs.tu-berlin.de [130.149.17.13] by master.debian.org with esmtp (Exim 3.35 1 (Debian)) id 19ZC0a-0007rk-00; Sun, 06 Jul 2003 11:05:00 -0500 Received: from bolero.cs.tu-berlin.de (daemon@bolero.cs.tu-berlin.de [130.149.19.1]) by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id SAA13796 for ; Sun, 6 Jul 2003 18:02:06 +0200 (MET DST) Received: (from doko@localhost) by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id h66G26P03955; Sun, 6 Jul 2003 18:02:06 +0200 (MEST) From: Matthias Klose MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16136.18429.935466.797854@gargle.gargle.HOWL> Date: Sun, 6 Jul 2003 18:02:05 +0200 To: control@bugs.debian.org Subject: tagging gcc reports X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Delivered-To: control@bugs.debian.org X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_01,USER_AGENT_VM version=2.53-bugs.debian.org_2003_06_27 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_06_27 (1.174.2.15-2003-03-30-exp) tags 197001 + moreinfo tags 196563 + moreinfo tags 197090 + upstream tags 198172 + upstream tags 198261 + upstream tags 85535 - fixed retitle 188976 libgcc1 should install into /lib64, not /lib/64 thanks   Information stored:
Bug#85535; Package gcc.   -t  X-Loop: owner@bugs.debian.org Subject: Bug#85535: [Bug optimization/3508] builtin memcmp() could be optimised Reply-To: gcc-bugzilla@gcc.gnu.org, 85535-quiet@bugs.debian.org Resent-From: "debian-gcc at lists dot debian dot org" Resent-To: Resent-Date: Sun, 10 Aug 2003 15:33:02 UTC Resent-Message-ID: Resent-Sender: owner@bugs.debian.org X-Debian-PR-Message: report 85535 X-Debian-PR-Package: gcc X-Debian-PR-Keywords: Received: via spool by 85535-quiet@bugs.debian.org id=Q85535.106052946829326 (code Q ref 85535); Sun, 10 Aug 2003 15:33:02 UTC Received: (at 85535-quiet) by bugs.debian.org; 10 Aug 2003 15:31:08 +0000 Received: from sources.redhat.com [67.72.78.213] by master.debian.org with smtp (Exim 3.35 1 (Debian)) id 19ls9y-0007cb-00; Sun, 10 Aug 2003 10:31:06 -0500 Received: (qmail 5530 invoked by uid 48); 10 Aug 2003 15:31:05 -0000 Date: 10 Aug 2003 15:31:05 -0000 Message-ID: <20030810153105.5529.qmail@sources.redhat.com> From: "debian-gcc at lists dot debian dot org" To: 85535-quiet@bugs.debian.org In-Reply-To: <20010701092600.3508.85535-quiet@bugs.debian.org> References: <20010701092600.3508.85535-quiet@bugs.debian.org> X-Bugzilla-Reason: Reporter Delivered-To: 85535-quiet@bugs.debian.org X-Spam-Status: No, hits=-1.3 required=4.0 tests=BAYES_20,IN_REP_TO,REFERENCES version=2.53-bugs.debian.org_2003_07_20 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_07_20 (1.174.2.15-2003-03-30-exp) PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3508 debian-gcc at lists dot debian dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |herbert at gondor dot apana | |dot org dot au ------- Additional Comments From debian-gcc at lists dot debian dot org 2003-08-10 15:31 ------- Unfortunately this bug has only been special cased rather than fixed in its full generality. If we change one of the arguments to a variable, the compiler still fails to produce the dword comparison that I would expect: -- a.c -- int foo(const char *s) { return !memcmp("abcd", s, 4); } -- gcc -S -O2 a.c -- .LC0: .string "abcd" .text .p2align 2,,3 .globl foo .type foo, @function foo: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi movl 8(%ebp), %edi movl $.LC0, %esi movl $4, %ecx cld repz cmpsb sete %al popl %esi movzbl %al, %eax popl %edi leave ret .size foo, .-foo .ident "GCC: (GNU) 3.3 20030509 (Debian prerelease)" -- ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter.   Acknowledgement sent to gcc-bugzilla@gcc.gnu.org:
Extra info received and filed, but not forwarded.   -t  X-Loop: owner@bugs.debian.org From: owner@bugs.debian.org (Debian Bug Tracking System) To: gcc-bugzilla@gcc.gnu.org Subject: Bug#85535: Info received and FILED only (was [Bug optimization/3508] builtin memcmp() could be optimised) Message-ID: In-Reply-To: <20030810153105.5529.qmail@sources.redhat.com> References: <20030810153105.5529.qmail@sources.redhat.com> Precedence: bulk X-Debian-PR-Message: ack-info-quiet 85535 X-Debian-PR-Package: gcc X-Debian-PR-Keywords: Reply-To: 85535-quiet@bugs.debian.org Thank you for the additional information you have supplied regarding this problem report. It has NOT been forwarded to the package maintainers, but will accompany the original report in the Bug tracking system. Please ensure that you yourself have sent a copy of the additional information to any relevant developers or mailing lists. If you wish to continue to submit further information on your problem, please send it to 85535-quiet@bugs.debian.org, as before. Please do not reply to the address at the top of this message, unless you wish to report a problem with the Bug-tracking system. Debian bug tracking system administrator (administrator, Debian Bugs database)   Received: (at 85535-quiet) by bugs.debian.org; 10 Aug 2003 15:31:08 +0000 From dberlin@gcc.gnu.org Sun Aug 10 10:31:06 2003 Return-path: Received: from sources.redhat.com [67.72.78.213] by master.debian.org with smtp (Exim 3.35 1 (Debian)) id 19ls9y-0007cb-00; Sun, 10 Aug 2003 10:31:06 -0500 Received: (qmail 5530 invoked by uid 48); 10 Aug 2003 15:31:05 -0000 Date: 10 Aug 2003 15:31:05 -0000 Message-ID: <20030810153105.5529.qmail@sources.redhat.com> From: "debian-gcc at lists dot debian dot org" To: 85535-quiet@bugs.debian.org In-Reply-To: <20010701092600.3508.85535-quiet@bugs.debian.org> References: <20010701092600.3508.85535-quiet@bugs.debian.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/3508] builtin memcmp() could be optimised X-Bugzilla-Reason: Reporter Delivered-To: 85535-quiet@bugs.debian.org X-Spam-Status: No, hits=-1.3 required=4.0 tests=BAYES_20,IN_REP_TO,REFERENCES version=2.53-bugs.debian.org_2003_07_20 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_07_20 (1.174.2.15-2003-03-30-exp) PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3508 debian-gcc at lists dot debian dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |herbert at gondor dot apana | |dot org dot au ------- Additional Comments From debian-gcc at lists dot debian dot org 2003-08-10 15:31 ------- Unfortunately this bug has only been special cased rather than fixed in its full generality. If we change one of the arguments to a variable, the compiler still fails to produce the dword comparison that I would expect: -- a.c -- int foo(const char *s) { return !memcmp("abcd", s, 4); } -- gcc -S -O2 a.c -- .LC0: .string "abcd" .text .p2align 2,,3 .globl foo .type foo, @function foo: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi movl 8(%ebp), %edi movl $.LC0, %esi movl $4, %ecx cld repz cmpsb sete %al popl %esi movzbl %al, %eax popl %edi leave ret .size foo, .-foo .ident "GCC: (GNU) 3.3 20030509 (Debian prerelease)" -- ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter.   Information stored:
Bug#85535; Package gcc.   -t  X-Loop: owner@bugs.debian.org Subject: Bug#85535: [Bug optimization/3508] builtin memcmp() could be optimised Reply-To: gcc-bugzilla@gcc.gnu.org, 85535-quiet@bugs.debian.org Resent-From: "pinskia at gcc dot gnu dot org" Resent-To: Resent-Date: Sun, 10 Aug 2003 16:03:04 UTC Resent-Message-ID: Resent-Sender: owner@bugs.debian.org X-Debian-PR-Message: report 85535 X-Debian-PR-Package: gcc X-Debian-PR-Keywords: Received: via spool by 85535-quiet@bugs.debian.org id=Q85535.10605309434423 (code Q ref 85535); Sun, 10 Aug 2003 16:03:04 UTC Received: (at 85535-quiet) by bugs.debian.org; 10 Aug 2003 15:55:43 +0000 Received: from sources.redhat.com [67.72.78.213] by master.debian.org with smtp (Exim 3.35 1 (Debian)) id 19lsXl-000190-00; Sun, 10 Aug 2003 10:55:41 -0500 Received: (qmail 18639 invoked by uid 48); 10 Aug 2003 15:55:40 -0000 Date: 10 Aug 2003 15:55:40 -0000 Message-ID: <20030810155540.18637.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: 85535-quiet@bugs.debian.org In-Reply-To: <20010701092600.3508.85535-quiet@bugs.debian.org> References: <20010701092600.3508.85535-quiet@bugs.debian.org> X-Bugzilla-Reason: Reporter Delivered-To: 85535-quiet@bugs.debian.org X-Spam-Status: No, hits=-1.3 required=4.0 tests=BAYES_20,IN_REP_TO,REFERENCES version=2.53-bugs.debian.org_2003_07_20 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_07_20 (1.174.2.15-2003-03-30-exp) PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3508 pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Keywords| |pessimizes-code Resolution|FIXED | ------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-10 15:55 ------- Reopening because the code is not optimal in the case where only argument is constant to memcmp. ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter.   Acknowledgement sent to gcc-bugzilla@gcc.gnu.org:
Extra info received and filed, but not forwarded.   -t  X-Loop: owner@bugs.debian.org From: owner@bugs.debian.org (Debian Bug Tracking System) To: gcc-bugzilla@gcc.gnu.org Subject: Bug#85535: Info received and FILED only (was [Bug optimization/3508] builtin memcmp() could be optimised) Message-ID: In-Reply-To: <20030810155540.18637.qmail@sources.redhat.com> References: <20030810155540.18637.qmail@sources.redhat.com> Precedence: bulk X-Debian-PR-Message: ack-info-quiet 85535 X-Debian-PR-Package: gcc X-Debian-PR-Keywords: Reply-To: 85535-quiet@bugs.debian.org Thank you for the additional information you have supplied regarding this problem report. It has NOT been forwarded to the package maintainers, but will accompany the original report in the Bug tracking system. Please ensure that you yourself have sent a copy of the additional information to any relevant developers or mailing lists. If you wish to continue to submit further information on your problem, please send it to 85535-quiet@bugs.debian.org, as before. Please do not reply to the address at the top of this message, unless you wish to report a problem with the Bug-tracking system. Debian bug tracking system administrator (administrator, Debian Bugs database)   Received: (at 85535-quiet) by bugs.debian.org; 10 Aug 2003 15:55:43 +0000 From dberlin@gcc.gnu.org Sun Aug 10 10:55:41 2003 Return-path: Received: from sources.redhat.com [67.72.78.213] by master.debian.org with smtp (Exim 3.35 1 (Debian)) id 19lsXl-000190-00; Sun, 10 Aug 2003 10:55:41 -0500 Received: (qmail 18639 invoked by uid 48); 10 Aug 2003 15:55:40 -0000 Date: 10 Aug 2003 15:55:40 -0000 Message-ID: <20030810155540.18637.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: 85535-quiet@bugs.debian.org In-Reply-To: <20010701092600.3508.85535-quiet@bugs.debian.org> References: <20010701092600.3508.85535-quiet@bugs.debian.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/3508] builtin memcmp() could be optimised X-Bugzilla-Reason: Reporter Delivered-To: 85535-quiet@bugs.debian.org X-Spam-Status: No, hits=-1.3 required=4.0 tests=BAYES_20,IN_REP_TO,REFERENCES version=2.53-bugs.debian.org_2003_07_20 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_07_20 (1.174.2.15-2003-03-30-exp) PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3508 pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Keywords| |pessimizes-code Resolution|FIXED | ------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-10 15:55 ------- Reopening because the code is not optimal in the case where only argument is constant to memcmp. ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter.   Information stored:
Bug#85535; Package gcc.   -t  X-Loop: owner@bugs.debian.org Subject: Bug#85535: [Bug optimization/3508] builtin memcmp() could be optimised Reply-To: gcc-bugzilla@gcc.gnu.org, 85535-quiet@bugs.debian.org Resent-From: "pinskia at gcc dot gnu dot or