Fix bootstrap with --enable-fully-dynamic-string
commit009d78d802de7db552a83481583e2d905d40733c
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Aug 2018 15:56:21 +0000 (16 15:56 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Aug 2018 15:56:21 +0000 (16 15:56 +0000)
tree2a4b0d2ec1f3e6a73c8b43e0718ce39be3d4862b
parent793b38da83ed2bb876447634fcdd705ce1266f28
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263590 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/cow-stdexcept.cc