[Bug libstdc++/63456] unordered_map incorrectly frees _M_single_bucket. Patch Included
fdumont at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Oct 5 19:36:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63456
--- Comment #3 from François Dumont <fdumont at gcc dot gnu.org> ---
Author: fdumont
Date: Sun Oct 5 19:36:15 2014
New Revision: 215906
URL: https://gcc.gnu.org/viewcvs?rev=215906&root=gcc&view=rev
Log:
2014-10-05 François Dumont <fdumont@gcc.gnu.org>
PR libstdc++/63456
* include/bits/hashtable.h (_M_uses_single_bucket(__bucket_type*)): Test
the parameter.
* testsuite/23_containers/unordered_set/63456.cc: New.
Added:
branches/gcc-4_9-branch/libstdc++-v3/testsuite/23_containers/unordered_set/63456.cc
Modified:
branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
branches/gcc-4_9-branch/libstdc++-v3/include/bits/hashtable.h
More information about the Gcc-bugs
mailing list