------- Additional Comments From bkoz at gcc dot gnu dot org 2005-05-24 04:22 -------
Dudes, just a quick pass at this. a.out: /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/bits/basic_string.h:643: typename _Alloc::reference std::basic_string<_CharT, _Traits, _Alloc>::operator[](typename _Alloc::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]: Assertion `__pos < size()' failed. Abort (core dumped) I get this with 3.4 to mainline with -O1 or -O2. -benjamin -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21674