diff options
author | timshen <timshen@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-25 05:43:04 +0000 |
---|---|---|
committer | timshen <timshen@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-25 05:43:04 +0000 |
commit | 949b55645790c4f65e98b33986868a4e8c0491f6 (patch) | |
tree | b5ca80b80eb4fcbdf7b29b72f70f709d6d1c5f9f /gcc/ipa-prop.c | |
parent | 6c54b1a6f25d498dc1ecc760967762d775746333 (diff) | |
download | gcc-949b55645790c4f65e98b33986868a4e8c0491f6.tar.gz |
PR libstdc++/63920
* include/bits/regex_executor.h: Make _M_begin non const.
* include/bits/regex_executor.tcc (_Executor<>::_M_search): Increase
_M_begin in search algorithm, so that _M_begin is treated as
"current start position" for each search iteration.
* testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: New
testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218037 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-prop.c')
0 files changed, 0 insertions, 0 deletions