https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88199
--- Comment #3 from François Dumont <fdumont at gcc dot gnu.org> --- Author: fdumont Date: Wed Nov 28 06:19:38 2018 New Revision: 266542 URL: https://gcc.gnu.org/viewcvs?rev=266542&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-7-branch/libstdc++-v3/ChangeLog branches/gcc-7-branch/libstdc++-v3/include/bits/hashtable.h branches/gcc-7-branch/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/move_assign.cc