From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5009 invoked by alias); 16 Aug 2002 10:46:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 4980 invoked by uid 71); 16 Aug 2002 10:46:02 -0000 Resent-Date: 16 Aug 2002 10:46:02 -0000 Resent-Message-ID: <20020816104602.4979.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, tgreve@ixmid.com Received: (qmail 3111 invoked from network); 16 Aug 2002 10:38:53 -0000 Received: from unknown (HELO pc61.ixmid.com) (195.227.81.205) by sources.redhat.com with SMTP; 16 Aug 2002 10:38:53 -0000 Received: (from tgreve@localhost) by pc61.ixmid.com (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) id g7GAbwX15220; Fri, 16 Aug 2002 12:37:58 +0200 Message-Id: <200208161037.g7GAbwX15220@pc61.ixmid.com> Date: Fri, 16 Aug 2002 04:16:00 -0000 From: tgreve@ixmid.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: 3.113 Subject: c++/7610: ICE after bootstrap in libstdc++/libsupc++ X-SW-Source: 2002-08/txt/msg00322.txt.bz2 List-Id: >Number: 7610 >Category: c++ >Synopsis: ICE after bootstrap while compiling libstdc++/libsupc++ using -g1 >Confidential: no >Severity: serious >Priority: low >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Fri Aug 16 03:46:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Thomas Greve >Release: 3.1.1 >Organization: ixmid Software-Technologie GmbH >Environment: System: Linux pc61 2.4.17 #1 Mon Jan 28 12:18:28 MET 2002 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ./configure : ./configure --enable-shared --enable-threads --with-cpu=athlon --enable-languages=c,c++,java --with-system-zlib >Description: When compiling libsupc++ with -O2 -g1 or with -O -g1, an ICE is triggered by eh_personality.cc:485 /home/thomas/gnu/gcc-3.1.1/gcc/xgcc -shared-libgcc -B/home/thomas/gnu/gcc-3.1.1/gcc/ -nostdinc++ -L/home/thomas/gnu/gcc-3.1.1/i686-pc-linux-gnu/libstdc++-v3/src -L/home/thomas/gnu/gcc-3.1.1/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -I../../../gcc -I../../../include -I/home/thomas/gnu/gcc-3.1.1/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/home/thomas/gnu/gcc-3.1.1/i686-pc-linux-gnu/libstdc++-v3/include -I../libsupc++ -O2 -march=athlon -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -O2 -march=athlon -ffunction-sections -fdata-sections -g1 -c eh_personality.cc -fPIC -DPIC -o eh_personality.o In file included from eh_personality.cc:38: ../../../gcc/unwind-pe.h: In function `unsigned int size_of_encoded_value(unsigned char)': ../../../gcc/unwind-pe.h:77: warning: control reaches end of non-void function ../../../gcc/unwind-pe.h: In function `_Unwind_Ptr base_of_encoded_value(unsigned char, _Unwind_Context*)': ../../../gcc/unwind-pe.h:107: warning: control reaches end of non-void function ../../../gcc/unwind-pe.h: In function `const unsigned char* read_encoded_value_with_base(unsigned char, unsigned int, const unsigned char*, _Unwind_Ptr*)': ../../../gcc/unwind-pe.h:182: warning: `_Unwind_Ptr result' might be used uninitialized in this function eh_personality.cc: At global scope: eh_personality.cc:485: Internal compiler error in dwarf2out_finish, at dwarf2out.c:12183 Please submit a full bug report, with preprocessed source if appropriate. >How-To-Repeat: In gcc-3.1.1/i686-pc-linux-gnu/libstdc++-v3/libsupc++/Makefile, set CONFIG_CXXFLAGS = -ffunction-sections -fdata-sections -g1 >Fix: Use -g0 >Release-Note: >Audit-Trail: >Unformatted: