re PR libstdc++/63456 (unordered_map incorrectly frees _M_single_bucket. Patch Included)
authorFrançois Dumont <fdumont@gcc.gnu.org>
Sun, 5 Oct 2014 18:44:46 +0000 (18:44 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Sun, 5 Oct 2014 18:44:46 +0000 (18:44 +0000)
commite6fb44d8789be4734b6d9141ec26dfc57701523e
tree19e0bfce6a8d6d907725b604c746450b22c995ac
parent29c43c83ef425cbfd173df483b03b596ddf36570
re PR libstdc++/63456 (unordered_map incorrectly frees _M_single_bucket. Patch Included)

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.

From-SVN: r215905
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable.h
libstdc++-v3/testsuite/23_containers/unordered_set/63456.cc [new file with mode: 0644]