This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/64680] basic_regex::operator= does not reset flags
- From: "timshen at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Feb 2015 09:02:08 +0000
- Subject: [Bug libstdc++/64680] basic_regex::operator= does not reset flags
- Auto-submitted: auto-generated
- References: <bug-64680-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64680
--- Comment #2 from Tim Shen <timshen at gcc dot gnu.org> ---
Author: timshen
Date: Tue Feb 3 09:01:36 2015
New Revision: 220366
URL: https://gcc.gnu.org/viewcvs?rev=220366&root=gcc&view=rev
Log:
PR libstdc++/64680
Backported from mainline
2015-01-22 Tim Shen <timshen@google.com>
* include/bits/regex.h (basic_regex<>::basic_regex,
basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
standard interface.
* testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
Modified:
branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
branches/gcc-4_9-branch/libstdc++-v3/include/bits/regex.h
branches/gcc-4_9-branch/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/cstring.cc