This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: regex issue
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: François Dumont <francois dot cppdevs at free dot fr>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 25 Mar 2011 21:27:07 +0000
- Subject: Re: regex issue
- References: <4D8D0697.2020602@free.fr>
On 25 March 2011 21:18, François Dumont <francois.cppdevs@free.fr> wrote:
> 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
>
I'll take a look, thanks