regex issue

François Dumont francois.cppdevs@free.fr
Fri Mar 25 21:18:00 GMT 2011


Hello

     I am perhaps the only one but I am experimenting 2 failures 
regarding regex lately when tested in debug mode:

FAIL: 28_regex/match_results/ctors/char/default.cc execution test
FAIL: 28_regex/match_results/ctors/wchar_t/default.cc execution test

In both cases the reported issue is:

/home/fdt/dev/gcc-trunk-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/regex.h:1662: 
const value_type& std::match_results<_Bi_iter, 
_Allocator>::operator[](std::match_results<_Bi_iter, _Allocator>::siz
e_type) const [with _Bi_iter = const char*, _Allocator = 
std::allocator<std::sub_match<const char*> >, 
std::match_results<_Bi_iter, _Allocator>::const_reference = const 
std::sub_match<const char*>&, std::match_r
esults<_Bi_iter, _Allocator>::value_type = std::sub_match<const char*>, 
std::match_results<_Bi_iter, _Allocator>::size_type = long unsigned 
int]: Assertion 'ready()' failed.

which is surprising because the involved test are not doing a lot of 
things...

Regards



More information about the Libstdc++ mailing list