aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTim Shen <timshen@google.com>2014-12-04 04:25:12 +0000
committerTim Shen <timshen@gcc.gnu.org>2014-12-04 04:25:12 +0000
commit9b9c2a974a93393b3993bb84d244844e8a527da9 (patch)
treeea70d254be8eb35eb50f02db8797b7f6e9b63f1e /gcc
parentddff61d69b48b6962dc925d5835f86aef34da136 (diff)
downloadgcc-9b9c2a974a93393b3993bb84d244844e8a527da9.zip
gcc-9b9c2a974a93393b3993bb84d244844e8a527da9.tar.gz
gcc-9b9c2a974a93393b3993bb84d244844e8a527da9.tar.bz2
re PR libstdc++/64140 (match_results.prefix() returns an incorrect result if regex_iterator holds a zero-length match)
PR libstdc++/64140 * include/bits/regex.tcc (regex_iterator<>::operator++): Update prefix.matched after modifying prefix.first. * testsuite/28_regex/iterators/regex_iterator/char/64140.cc: New testcase. From-SVN: r218340
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions