https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103501
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-11-30
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This causes the following failures when using --enable-fully-dynamic-string on
trunk:
FAIL: 23_containers/multiset/allocator/move_cons.cc execution test
FAIL: 23_containers/map/allocator/move_cons.cc execution test
FAIL: 23_containers/multimap/allocator/move_cons.cc execution test
FAIL: 23_containers/set/allocator/move_cons.cc execution test
This is because a moved-from fully-dynamic string is no longer empty. As shown
above, the problem is broader than just fully-dynamic strings.