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 <tims...@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