This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
testsuite additional fails
- To: libstdc++ at gcc dot gnu dot org
- Subject: testsuite additional fails
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Mon, 2 Apr 2001 23:49:27 -0700
this is a new static fail since last week, when the new call frame
exception handling bits went in.
21_strings/element_access.cc
// const_reference at(size_type pos) const;
csz01 = str01.size();
cref cref3 = str01.at(csz01 - 1);
VERIFY( cref3 == 'a' );
try {
cref cref4 = str01.at(csz01);
VERIFY( false ); <---as soon as try block entered, kabooom
}
catch(std::out_of_range& fail) {
VERIFY( true );
}
catch(...) {
VERIFY( false );
}
Program received signal SIGABRT, Aborted.
0x80764a1 in __kill ()
(gdb) where
#0 0x80764a1 in __kill ()
#1 0x807633b in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x804ec41 in abort () at ../sysdeps/generic/abort.c:88
#3 0x8099df5 in _ZN10__cxxabiv111__terminateEPFvvE (handler=0x804eb04 <abort>)
at /mnt/hd/bliss/src.gcc/libstdc++-v3/libsupc++/eh_terminate.cc:47
#4 0x8099cd4 in __gxx_personality_v0 ()
at /mnt/hd/bliss/src.gcc/libstdc++-v3/libsupc++/eh_personality.cc:547
#5 0x8049ec6 in _Unwind_RaiseException_Phase2 (exc=0x80f7030,
context=0xbffff830) at /mnt/hd/bliss/src.gcc/gcc/unwind-dw2.c:1076
#6 0x804a2c0 in _Unwind_Resume (exc=0x80f7030)
at /mnt/hd/bliss/src.gcc/gcc/unwind-dw2.c:1076
#7 0x8090d89 in _ZSt20__throw_out_of_rangePKc ()
at /mnt/hd/bliss/src.gcc/libstdc++-v3/include/bits/stl_alloc.h:543
#8 0x809c366 in _ZNKSs2atEj (this=0xbffffa10, __n=21) at basic_string.h:439
#9 0x8048455 in _Z6test01v () at 21_strings/element_access.cc:59
#10 0x804860b in main () at 21_strings/element_access.cc:94
#11 0x804af7a in __libc_start_main (main=0x8048600 <main>, argc=1,
ubp_av=0xbffffab4, init=0x80480b4 <_init>, fini=0x80cdfc0 <_fini>,
rtld_fini=0, stack_end=0xbffffaac) at ../sysdeps/generic/libc-start.c:129
(gdb) r
y