This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r178423 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Thu, 01 Sep 2011 15:45:20 -0000
- Subject: r178423 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: paolo
Date: Thu Sep 1 15:45:20 2011
New Revision: 178423
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178423
Log:
2011-09-01 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
Remove noexcept, the move constructor allocates memory; rearrange
the code in the body to consistently update __ht._M_rehash_policy
before using _M_next_bkt on it.
* include/debug/unordered_map: Adjust.
* include/debug/unordered_set: Likewise.
* include/profile/unordered_map: Likewise.
* include/profile/unordered_set: Likewise.
* testsuite/23_containers/unordered_map/cons/
noexcept_move_construct.cc: Remove.
* testsuite/23_containers/unordered_set/cons/
noexcept_move_construct.cc: Likewise.
* testsuite/23_containers/unordered_multimap/cons/
noexcept_move_construct.cc: Likewise.
* testsuite/23_containers/unordered_multiset/cons/
noexcept_move_construct.cc: Likewise.
Removed:
trunk/libstdc++-v3/testsuite/23_containers/unordered_map/cons/noexcept_move_construct.cc
trunk/libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/noexcept_move_construct.cc
trunk/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/noexcept_move_construct.cc
trunk/libstdc++-v3/testsuite/23_containers/unordered_set/cons/noexcept_move_construct.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/hashtable.h
trunk/libstdc++-v3/include/debug/unordered_map
trunk/libstdc++-v3/include/debug/unordered_set
trunk/libstdc++-v3/include/profile/unordered_map
trunk/libstdc++-v3/include/profile/unordered_set