This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/9304: [pch] ICE in gen_subprogram_die


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 <bangerth@ticam.utexas.edu>
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<wchar_t>::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<wchar_t>, _Alloc = std::allocator<wchar_t>]'
 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 <URL:http://www.gnu.org/software/gcc/bugs.html> 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 <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
 
 Looks like yet another different error...
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]