https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88199
--- Comment #4 from François Dumont <fdumont at gcc dot gnu.org> --- Author: fdumont Date: Wed Nov 28 06:27:28 2018 New Revision: 266543 URL: https://gcc.gnu.org/viewcvs?rev=266543&root=gcc&view=rev Log: 2018-11-28 François Dumont <fdum...@gcc.gnu.org> PR libstdc++/88199 * include/bits/hashtable.h (_Hashtable<>::_M_move_assign(_Hashtable&&, false_type)): Deallocate former buckets after assignment. * testsuite/23_containers/unordered_set/allocator/move_assign.cc (test03): New. Modified: branches/gcc-8-branch/libstdc++-v3/ChangeLog branches/gcc-8-branch/libstdc++-v3/include/bits/hashtable.h branches/gcc-8-branch/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/move_assign.cc