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

Bug#169909: marked as done (gcc-3.2: Internal error when using -O2)



Your message dated Fri, 27 Dec 2002 12:36:55 +0100
with message-id <15884.15191.82464.385964@gargle.gargle.HOWL>
and subject line Bug#169909: gcc-3.2: Internal error when using -O2
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; 20 Nov 2002 16:49:55 +0000
>From pont@soua.net Wed Nov 20 10:49:54 2002
Return-path: <pont@soua.net>
Received: from h27n1fls35o848.telia.com (soua.net) [217.211.28.27] (postfix)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18EY30-0003dj-00; Wed, 20 Nov 2002 10:49:54 -0600
Received: by soua.net (Postfix, from userid 1000)
	id 90BD0112B2; Wed, 20 Nov 2002 17:49:49 +0100 (CET)
From: Pontus Skoeld <pont@hallonsaft.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gcc-3.2: Internal error when using -O2
X-Mailer: reportbug 1.50
Date: Wed, 20 Nov 2002 17:49:48 +0100
Message-Id: <20021120164949.90BD0112B2@soua.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-1.6 required=5.0
	tests=SPAM_PHRASE_00_01,SUPERLONG_LINE
	version=2.41
X-Spam-Level: 

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

pont@machia:/space/1/moz/mozilla/security/nss/lib/pkcs12$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.1/specs
Configured with: /home/packages/gcc/3.2/gcc-3.2-3.2.1ds5/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.1 20021111 (Debian prerelease)

When compiling Mozilla from CVS as of Nov 20 2002, the compilation fails on
mozilla/security/nss/lib/pkcs12/p12e.c if one uses optimization (tested with 
-O and -O2):

pont@machia:/space/1/moz/mozilla/security/nss/lib/pkcs12$ gcc -save-temps -o Linux2.4_x86_glibc_PTH_OPT.OBJ/p12e.o -c -O2  -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -I/space/1/moz/mozilla/dist/include  -I../../../../dist/public/nss -I../../../../dist/private/nss -I../../../../dist/include -I/space/1/moz/mozilla/dist/include/nspr -I/space/1/moz/mozilla/dist/include/dbm -I../../../../dist/public/dbm  p12e.c 
p12e.c: In function `sec_PKCS12CreateSafeBag':
p12e.c:763: Internal compiler error in merge_blocks_move_predecessor_nojumps, at cfgcleanup.c:650
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
pont@machia:/space/1/moz/mozilla/security/nss/lib/pkcs12$ 

Without optimization however, it works perfectly:

pont@machia:/space/1/moz/mozilla/security/nss/lib/pkcs12$ gcc -save-temps -o Linux2.4_x86_glibc_PTH_OPT.OBJ/p12e.o -c -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -I/space/1/moz/mozilla/dist/include  -I../../../../dist/public/nss -I../../../../dist/private/nss -I../../../../dist/include -I/space/1/moz/mozilla/dist/include/nspr -I/space/1/moz/mozilla/dist/include/dbm -I../../../../dist/public/dbm  p12e.c 
pont@machia:/space/1/moz/mozilla/security/nss/lib/pkcs12$ 

Files created by -save-active when using -O2 are at 
<URL:http://soua.net/p12e.i.breaks> and 
<URL:http://soua.net/p12e.s.breaks>. The same files when not using 
-O2 are at <URL:http://soua.net/p12e.i.works> and 
<URL:http://soua.net/p12e.s.works>.

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux machia 2.4.18 #9 Mon Aug 5 22:05:57 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=sv_SE

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


---------------------------------------
Received: (at 169909-done) by bugs.debian.org; 27 Dec 2002 11:39:09 +0000
>From doko@cs.tu-berlin.de Fri Dec 27 05:39:09 2002
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18RspY-0000Bc-00; Fri, 27 Dec 2002 05:39:08 -0600
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 MAA29573;
	Fri, 27 Dec 2002 12:36:55 +0100 (MET)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id gBRBatS08524;
	Fri, 27 Dec 2002 12:36:55 +0100 (MET)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15884.15191.82464.385964@gargle.gargle.HOWL>
Date: Fri, 27 Dec 2002 12:36:55 +0100
To: Pontus Skoeld <pont@hallonsaft.net>, 169909-done@bugs.debian.org
Subject: Re: Bug#169909: gcc-3.2: Internal error when using -O2
In-Reply-To: <20021120164949.90BD0112B2@soua.net>
References: <20021120164949.90BD0112B2@soua.net>
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: 169909-done@bugs.debian.org
X-Spam-Status: No, hits=-10.4 required=5.0
	tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,
	      SUPERLONG_LINE
	version=2.41
X-Spam-Level: 

fixed at least in 3.2.2-0pre2

Pontus Skoeld writes:
> Package: gcc-3.2
> Version: 1:3.2.1-0pre6
> Severity: normal
> 
> pont@machia:/space/1/moz/mozilla/security/nss/lib/pkcs12$ gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.1/specs
> Configured with: /home/packages/gcc/3.2/gcc-3.2-3.2.1ds5/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc i386-linux
> Thread model: posix
> gcc version 3.2.1 20021111 (Debian prerelease)
> 
> When compiling Mozilla from CVS as of Nov 20 2002, the compilation fails on
> mozilla/security/nss/lib/pkcs12/p12e.c if one uses optimization (tested with 
> -O and -O2):
> 
> pont@machia:/space/1/moz/mozilla/security/nss/lib/pkcs12$ gcc -save-temps -o Linux2.4_x86_glibc_PTH_OPT.OBJ/p12e.o -c -O2  -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -I/space/1/moz/mozilla/dist/include  -I../../../../dist/public/nss -I../../../../dist/private/nss -I../../../../dist/include -I/space/1/moz/mozilla/dist/include/nspr -I/space/1/moz/mozilla/dist/include/dbm -I../../../../dist/public/dbm  p12e.c 
> p12e.c: In function `sec_PKCS12CreateSafeBag':
> p12e.c:763: Internal compiler error in merge_blocks_move_predecessor_nojumps, at cfgcleanup.c:650
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> pont@machia:/space/1/moz/mozilla/security/nss/lib/pkcs12$ 
> 
> Without optimization however, it works perfectly:
> 
> pont@machia:/space/1/moz/mozilla/security/nss/lib/pkcs12$ gcc -save-temps -o Linux2.4_x86_glibc_PTH_OPT.OBJ/p12e.o -c -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -I/space/1/moz/mozilla/dist/include  -I../../../../dist/public/nss -I../../../../dist/private/nss -I../../../../dist/include -I/space/1/moz/mozilla/dist/include/nspr -I/space/1/moz/mozilla/dist/include/dbm -I../../../../dist/public/dbm  p12e.c 
> pont@machia:/space/1/moz/mozilla/security/nss/lib/pkcs12$ 
> 
> Files created by -save-active when using -O2 are at 
> <URL:http://soua.net/p12e.i.breaks> and 
> <URL:http://soua.net/p12e.s.breaks>. The same files when not using 
> -O2 are at <URL:http://soua.net/p12e.i.works> and 
> <URL:http://soua.net/p12e.s.works>.
> 
> -- System Information
> Debian Release: testing/unstable
> Architecture: i386
> Kernel: Linux machia 2.4.18 #9 Mon Aug 5 22:05:57 CEST 2002 i686
> Locale: LANG=C, LC_CTYPE=sv_SE
> 
> Versions of packages gcc-3.2 depends on:
> ii  binutils                  2.13.90.0.10-2 The GNU assembler, linker and bina
> ii  cpp-3.2                   1:3.2.1-0pre6  The GNU C preprocessor.
> ii  gcc-3.2-base              1:3.2.1-0pre6  The GNU Compiler Collection (base 
> ii  libc6                     2.3.1-5        GNU C Library: Shared libraries an
> ii  libgcc1                   1:3.2.1-0pre6  GCC support library.
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: