From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20317 invoked by alias); 4 Feb 2003 22:26:02 -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 20299 invoked by uid 71); 4 Feb 2003 22:26:01 -0000 Date: Tue, 04 Feb 2003 22:26:00 -0000 Message-ID: <20030204222601.20298.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Ritzert@t-online.de (Michael Ritzert) Subject: Re: c++/9304: [pch] ICE in gen_subprogram_die Reply-To: Ritzert@t-online.de (Michael Ritzert) X-SW-Source: 2003-02/txt/msg00219.txt.bz2 List-Id: The following reply was made to PR c++/9304; it has been noted by GNATS. From: Ritzert@t-online.de (Michael Ritzert) To: Wolfgang Bangerth Cc: gcc-gnats@gcc.gnu.org Subject: Re: c++/9304: [pch] ICE in gen_subprogram_die Date: Tue, 4 Feb 2003 23:20:06 +0100 The bootstrap of gcc HEAD just finished and now I get for the testcase in the bugreport: ritzert@liz:~/tmp$ g++ -v Reading specs from /opt/gcc-HEAD/lib/gcc-lib/i686-pc-linux-gnu/3.4/specs Configured with: /home/ritzert/gcc/HEAD/gcc/configure --enable-threads=posix --prefix=/opt/gcc-HEAD Thread model: posix gcc version 3.4 20030204 (experimental) ritzert@liz:~/tmp$ g++ -g -O2 -o StdAfx.h.pch StdAfx.h ritzert@liz:~/tmp$ g++ -g -O2 -o configfile.lo configfile.cpp /opt/gcc-HEAD/include/c++/3.4/bits/basic_string.tcc: In static member function `static size_t std::char_traits::length(const wchar_t*)': /opt/gcc-HEAD/include/c++/3.4/bits/basic_string.tcc:622: instantiated from `std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = wchar_t, _Traits = std::char_traits, _Alloc = std::allocator]' configfile.cpp:19: instantiated from here /opt/gcc-HEAD/include/c++/3.4/bits/basic_string.tcc:622: internal compiler error: in gen_subprogram_die, at dwarf2out.c:10784 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Seems I plain forgot to test the initial testcase earlier... Michael PS: On FreeBSD 4.7, I get for the testcase with s/wstring/string/, s/L"/"/: [...] configfile.cpp:15: instantiated from here /home/ritzert/gcc-HEAD/install/include/c++/3.4/bits/stl_construct.h:125: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Looks like yet another different error...