This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch, libstdc++/64302, libstdc++/64303] Fix match_results iterators and regex_token_iterator
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Tim Shen <timshen at google dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 15 Dec 2014 10:58:00 +0000
- Subject: Re: [Patch, libstdc++/64302, libstdc++/64303] Fix match_results iterators and regex_token_iterator
- Authentication-results: sourceware.org; auth=none
- References: <CAG4ZjNm0eOP5FwcBUdEds4wWhpFYp7+NrS=QeJP4=vK1Tzxj1w at mail dot gmail dot com>
On 14/12/14 15:23 -0800, Tim Shen wrote:
Bootstraped and tested :)
I'm not sure if it's safe to directly backport it to 4.9, since one
inline function (_M_normalize_result) is added; but at least we can
manually inline them by copy & paste.
It's OK for trunk and 4.9, without changes.
Code compiled against 4.9.2 that inlines some of the regex code won't
be affected by the added function. Code that doesn't inline the code
will start calling the new function. So it won't hurt and might help.