This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch 1/3] Use manual regex algorithm switching
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Tim Shen <timshen91 at gmail dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 26 Apr 2014 15:50:18 +0100
- Subject: Re: [Patch 1/3] Use manual regex algorithm switching
- Authentication-results: sourceware.org; auth=none
- References: <CAPrifDm8MwcHY8XSnW_z6Z_hLVS+Lw4huqWEF3_eNT=fw3mkRg at mail dot gmail dot com> <20140425211417 dot GM928 at redhat dot com> <CAPrifD=y+bxDS+V0yiKbc-GvKC5+Vr1H7ofxuLHF=BOvtdXMGA at mail dot gmail dot com> <20140425235620 dot GP928 at redhat dot com> <CAPrifDk3eVrCDzk=_5MgExooF+BrpVWCi8AWaZef6YNhenQj8w at mail dot gmail dot com>
On 25/04/14 20:50 -0400, Tim Shen wrote:
* include/bits/regex.tcc (__regex_algo_impl<>): Remove
_GLIBCXX_REGEX_DFS_QUANTIFIERS_LIMIT and use
_GLIBCXX_REGEX_USE_THOMPSON_NFA instead.
* include/bits/regex_automaton.h: Remove quantifier counting variable.
* include/bits/regex_automaton.tcc (_State_base::_M_dot):
Adjust debug NFA dump.
This patch is OK, thanks very much.