Fix compilation error with _GLIBCXX_PARALLEL
authorJonathan Wakely <jwakely@redhat.com>
Fri, 19 Oct 2018 13:46:24 +0000 (14:46 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 19 Oct 2018 13:46:24 +0000 (14:46 +0100)
commit30f7c08d96556c4fdbe772240a085f5d8c2393a4
tree35ec88ca464eff059af3b25ee38bb02d5f510e1e
parent7b1e8acfae2c1b4ee3c2199879783d2189ca3d0f
Fix compilation error with _GLIBCXX_PARALLEL

* include/bits/regex_executor.tcc (_Backref_matcher::_M_apply): Use
_GLIBCXX_STD_A to refer to normal mode algorithms.
* testsuite/28_regex/headers/regex/parallel_mode.cc: New test.
* testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Remove empty
whitespace.

From-SVN: r265314
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex_executor.tcc
libstdc++-v3/testsuite/28_regex/headers/regex/parallel_mode.cc [new file with mode: 0644]
libstdc++-v3/testsuite/28_regex/headers/regex/std_c++0x_neg.cc