This is GCC Bugzilla
This is GCC Bugzilla Version 2.20+
View Bug Activity | Format For Printing | Clone This Bug
While building kseg with 3.3/3.2, the following ICE happens on alpha. gcc 2.95 works fine. g++ -c -fomit-frame-pointer -ffast-math -g -O2 -I/usr/share/qt3/include KSegProperties.cpp KSegProperties.cpp: In function `void __static_initialization_and_destruction_0(int, int)': KSegProperties.cpp:31: Internal compiler error in mem_loc_descriptor, at dwarf2out.c:7903 Release: 3.3 20030301 (prerelease), 3.2.3 20030309 (Debian prerelease) Environment: Reading specs from /usr/lib/gcc-snapshot/lib/gcc-lib/alpha-linux/3.3/specs Configured with: /build/buildd/gcc-snapshot-20030301/src/configure -v --enable-languages=c,c++,java,f77,objc,ada --prefix=/usr/lib/gcc-snapshot --infodir=/share/info --mandir=/share/man --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-java-awt=xlib --with-cpp-install-dir=bin --enable-objc-gc alpha-linux Thread model: posix
From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, rmurray@debian.org, 184753@bugs.debian.org Cc: Subject: Re: target/10084: [3.2/3.3 regression] alpha: ICE while building kseg/ddd Date: 23 Mar 2003 21:29:34 +0100 Hi, here's a smaller test case: struct Foo { Foo(); Foo(const Foo &); }; inline Foo foo(Foo s1) { Foo tmp(s1); return tmp; } const Foo bar = foo(Foo()); % g++ -v Reading specs from /usr/local/stow/gcc-2003.03.11/bin/../lib/gcc-lib/alphaev68-unknown-linux-gnu/3.4/specs Configured with: ../configure --enable-languages=c++ Thread model: posix gcc version 3.4 20030310 (experimental) % g++ -c -g -O bug.cc bug.cc: In function `void __static_initialization_and_destruction_0(int, int)': bug.cc:11: internal compiler error: in mem_loc_descriptor, at dwarf2out.c:8508 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. g++ 2.95 has no problems. Removing -g or -O also fixes the problem. -- Falk
From: ebotcazou@gcc.gnu.org To: gcc-gnats@gcc.gnu.org Cc: Subject: target/10084 Date: 28 Mar 2003 07:47:58 -0000 CVSROOT: /cvs/gcc Module name: gcc Changes by: ebotcazou@gcc.gnu.org 2003-03-28 07:47:57 Modified files: gcc : ChangeLog dwarf2out.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/gcc.dg: sparc-dwarf2.c Log message: PR target/10114 and PR target/10084 * dwarf2out.c (mem_loc_descriptor): Handle LO_SUM. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.17233&r2=1.17234 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gcc&r1=1.413&r2=1.414 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2549&r2=1.2550 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/sparc-dwarf2.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
From: ebotcazou@gcc.gnu.org To: gcc-gnats@gcc.gnu.org Cc: Subject: target/10084 Date: 28 Mar 2003 07:54:11 -0000 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_3-branch Changes by: ebotcazou@gcc.gnu.org 2003-03-28 07:54:11 Modified files: gcc : ChangeLog dwarf2out.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/gcc.dg: sparc-dwarf2.c Log message: PR target/10114 and PR target/10084 * dwarf2out.c (mem_loc_descriptor): Handle LO_SUM. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.370&r2=1.16114.2.371 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.390.2.3&r2=1.390.2.4 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.125&r2=1.2261.2.126 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/sparc-dwarf2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1
From: ebotcazou@gcc.gnu.org To: gcc-gnats@gcc.gnu.org Cc: Subject: target/10084 Date: 28 Mar 2003 08:01:33 -0000 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_2-branch Changes by: ebotcazou@gcc.gnu.org 2003-03-28 08:01:33 Modified files: gcc : ChangeLog dwarf2out.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/gcc.dg: sparc-dwarf2.c Log message: PR target/10114 and PR target/10084 * dwarf2out.c (mem_loc_descriptor): Handle LO_SUM. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.13152.2.657.2.284&r2=1.13152.2.657.2.285 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.356.2.13.2.1&r2=1.356.2.13.2.2 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.1672.2.166.2.118&r2=1.1672.2.166.2.119 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/sparc-dwarf2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=NONE&r2=1.1.4.1
State-Changed-From-To: open->closed State-Changed-Why: Fixed. See http://gcc.gnu.org/ml/gcc-patches/2003-03/msg02303.html