This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Two <regex> testcases failing for check-debug
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Tim Shen <timshen91 at gmail dot com>
- Cc: Paolo Carlini <paolo dot carlini at oracle dot com>, "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 15 Aug 2013 10:53:51 +0100
- Subject: Re: Two <regex> testcases failing for check-debug
- References: <520C246E dot 1040400 at oracle dot com> <CAPrifDnvfmVxLhueSOv_xCNrTGpAwQ=4O7FQ0SuMFmAwn8=hyg at mail dot gmail dot com>
On 15 August 2013 10:22, Tim Shen wrote:
>
> Here's the patch.
>
> Bootstrap passed and -m32 testsuite passed. Now I'm testing x86_64.
Why not use __s.data() in all cases, instead of &*__s.begin()? That's
safe even for an empty vector.
Please also test the tests Paolo noted with -D_GLIBCXX_DEBUG