On Wed, Dec 31, 2014 at 4:17 PM, David Edelsohn <dje....@gmail.com> wrote:
> FAIL: 28_regex/algorithms/regex_match/ecma/char/backref.cc execution test
>
> on AIX.

Oops, a dumb mistake from fixing a dumb mistake. Thanks David! :)

Bootstrapped and tested.


-- 
Regards,
Tim Shen
commit adee3fe36298ddd79ec04a1e8c3ccacf76514479
Author: timshen <tims...@google.com>
Date:   Wed Dec 31 19:07:55 2014 -0800

        * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
        iterator, since the original one shouldn't be mutated.

diff --git a/libstdc++-v3/include/bits/regex_executor.tcc 
b/libstdc++-v3/include/bits/regex_executor.tcc
index 7954d06..a973667 100644
--- a/libstdc++-v3/include/bits/regex_executor.tcc
+++ b/libstdc++-v3/include/bits/regex_executor.tcc
@@ -310,7 +310,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
            if (!__submatch.matched)
              break;
            auto __last = _M_current;
-           for (auto& __tmp = __submatch.first;
+           for (auto __tmp = __submatch.first;
                 __last != _M_end && __tmp != __submatch.second;
                 ++__tmp)
              ++__last;

Reply via email to