This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/64680] basic_regex::operator= does not reset flags


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]