re PR libstdc++/64441 (A match_results returns an incorrect sub_match if the sub_matc...
authorTim Shen <timshen@google.com>
Wed, 31 Dec 2014 10:27:41 +0000 (10:27 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Wed, 31 Dec 2014 10:27:41 +0000 (10:27 +0000)
commitec5f010299aeae689871053d9f2164a9ea7f3a87
tree6591e46f0a11de878f6c1ba295dfeb7735e647bd
parent54ba5c5c679c4d9cc1a2c85f92917713a1a3135a
re PR libstdc++/64441 (A match_results returns an incorrect sub_match if the sub_match::matched is false)

PR libstdc++/64441
* include/bits/regex.tcc (__regex_algo_impl): s/auto/auto&/.
* include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Likewise.

From-SVN: r219121
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex.tcc
libstdc++-v3/include/bits/regex_executor.tcc