Fix bootstrap with --enable-fully-dynamic-string
authorJonathan Wakely <jwakely@redhat.com>
Thu, 16 Aug 2018 15:56:21 +0000 (16:56 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 16 Aug 2018 15:56:21 +0000 (16:56 +0100)
commit891b1d6872ecf18ccf605d036f8f01dec32d66a4
tree2a4b0d2ec1f3e6a73c8b43e0718ce39be3d4862b
parent3f6677f418564e634e3b77b0fc385891d1fdf1da
Fix bootstrap with --enable-fully-dynamic-string

PR libstdc++/86447
* src/c++11/cow-stdexcept.cc [_GLIBCXX_FULLY_DYNAMIC_STRING]
(logic_error::logic_error(logic_error&&))
(logic_error::operator=(logic_error&&))
(runtime_error::runtime_error(runtime_error&&))
(runtime_error::operator=(runtime_error&&)): Copy strings instead of
moving, to avoid allocating empty reps for moved-from strings.

From-SVN: r263590
libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/cow-stdexcept.cc