mirror of git://gcc.gnu.org/git/gcc.git
re PR libstdc++/64475 (FAIL: 28_regex/algorithms/regex_match/ecma/char/backref.cc)
PR libstdc++/64475 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the iterator, since the original one shouldn't be mutated. From-SVN: r219151
This commit is contained in:
parent
fe86867f07
commit
d0cbab5fed
|
|
@ -1,3 +1,9 @@
|
||||||
|
2015-01-02 Tim Shen <timshen@google.com>
|
||||||
|
|
||||||
|
PR libstdc++/64475
|
||||||
|
* include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
|
||||||
|
iterator, since the original one shouldn't be mutated.
|
||||||
|
|
||||||
2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
||||||
|
|
||||||
PR libstdc++/64422
|
PR libstdc++/64422
|
||||||
|
|
|
||||||
|
|
@ -310,7 +310,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
if (!__submatch.matched)
|
if (!__submatch.matched)
|
||||||
break;
|
break;
|
||||||
auto __last = _M_current;
|
auto __last = _M_current;
|
||||||
for (auto& __tmp = __submatch.first;
|
for (auto __tmp = __submatch.first;
|
||||||
__last != _M_end && __tmp != __submatch.second;
|
__last != _M_end && __tmp != __submatch.second;
|
||||||
++__tmp)
|
++__tmp)
|
||||||
++__last;
|
++__last;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue