PR libstdc++/83598 don't modify flags passed to std::basic_regex constructors
commit32c2d01da74b8f33d1cc80120fb56db0f1b42bb6
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Dec 2017 22:18:02 +0000 (27 22:18 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Dec 2017 22:18:02 +0000 (27 22:18 +0000)
tree6e7a0a9f6426ac0e8a39422fe0c8003c9eaac1a0
parent1a3d7dd463f20cea1eeda28875c272ca990d5612
PR libstdc++/83598 don't modify flags passed to std::basic_regex constructors

PR libstdc++/83598
* include/bits/regex.h (basic_regex): Don't modify flags passed to
constructors.
* testsuite/28_regex/basic_regex/ctors/83598.cc: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256013 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex.h
libstdc++-v3/testsuite/28_regex/basic_regex/ctors/83598.cc [new file with mode: 0644]