OSDN Git Service

2011-11-29 François Dumont <fdumont@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 39438b0..4be8353 100644 (file)
@@ -1,3 +1,100 @@
+2011-11-29  François Dumont <fdumont@gcc.gnu.org>
+
+       * include/bits/hashtable.h (_Hashtable<>::_M_rehash): Remove code
+       useless now that the hashtable implementation put the hash code in
+       cache if the hash functor throws.
+       * testsuite/23_containers/unordered_set/erase/1.cc: Enhance test by
+       checking also distance between begin and end iterators to validate
+       underlying data model.
+       * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise.
+       * testsuire/23_containers/unordered_map/erase/1.cc: Likewise.
+       * testsuite/23_containers/unordered_multimap/erase/1.cc: Likewise.
+       * testsuite/23_containers/unordered_multiset/erase/2.cc: New.
+       * testsuite/23_containers/unordered_multimap/erase/2.cc: New.
+
+2011-11-28  Andrew MacLeod  <amacleod@redhat.com>
+
+       * include/bits/atomic_base.h (ATOMIC_*_LOCK_FREE): Use new cpp
+       predefined macros.
+       * testsuite/29_atomics/headers/atomic/macros.cc: Add BOOL and POINTER
+       macro checks.  Check for expected compile time values.
+
+2011-11-28  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/51288
+       * include/std/iomanip (get_money, put_money): Use sentry.
+       * testsuite/27_io/manipulators/extended/get_money/char/51288.cc: New.
+       * testsuite/27_io/manipulators/extended/get_money/wchar_t/51288.cc:
+       Likewise.
+       * testsuite/27_io/manipulators/extended/put_money/char/51288.cc:
+       Likewise.
+       * testsuite/27_io/manipulators/extended/put_money/wchar_t/51288.cc:
+       Likewise.
+
+2011-11-27  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * doc/xml/manual/using.xml (Prerequisites): Refer to x86 instead
+       of i386.
+
+2011-11-27  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * scripts/run_doxygen (problematic): Change Linux reference to
+       GNU/Linux.
+
+2011-11-26  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * doc/xml/manual/abi.xml (Prerequisites): Refer to GNU/Linux.
+       Fix reference to GCC.
+
+2011-11-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/51296
+       * testsuite/30_threads/thread/native_handle/typesizes.cc: Do not run
+       on alpha*-*-osf*.
+       * testsuite/30_threads/future/cons/constexpr.cc: Disable debug
+       symbols.
+       * testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise.
+
+2011-11-23  François Dumont <fdumont@gcc.gnu.org>
+
+       PR libstdc++/41975
+       * include/bits/hashtable.h (_Hashtable<>): Major data model
+       modification to limit performance impact of empty buckets in
+       erase(iterator) implementation.
+       * include/bits/hashtable_policy.h (_Hashtable_iterator,
+       _Hashtable_const_iterator): Remove not used anymore.
+       * include/bits/hashtable_policy.h (_Prime_rehash_policy): Remove
+       _M_grow_factor, just use natural evolution of prime numbers. Add
+       _M_prev_size to know when the number of buckets can be reduced.
+       * include/bits/unordered_set.h (__unordered_set<>,
+       __unordered_multiset<>), unordered_map.h (__unordered_map<>,
+       __unordered_multimap<>): Change default value of cache hash code
+       template parameter, false for integral types with noexcept hash
+       functor, true otherwise.
+       * include/debug/unordered_map, unordered_set: Adapt transformation
+       from iterator/const_iterator to respectively
+       local_iterator/const_local_iterator.
+       * testsuite/performance/23_containers/copy_construct/unordered_set.cc:
+       New.
+       * testsuite/23_containers/unordered_set/instantiation_neg.cc: New.
+       * testsuite/23_containers/unordered_set/hash_policy/rehash.cc: New.
+       * testsuite/23_containers/unordered_multiset/cons/copy.cc: New.
+       * testsuite/23_containers/unordered_multiset/erase/1.cc,
+       24061-multiset.cc: Add checks on the number of bucket elements.
+       * testsuite/23_containers/unordered_multiset/insert/multiset_range.cc,
+       multiset_single.cc, multiset_single_move.cc: Likewise.
+
+2011-11-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/std/functional (is_placeholder, is_bind_expression): Add
+       partial specializations for cv-qualified types.
+       * include/tr1/functional (is_placeholder, is_bind_expression): Add
+       partial specializations for std::bind and std::placeholders and for
+       cv-qualified types.
+       * testsuite/20_util/bind/cv_quals_3.cc: New.
+       * testsuite/tr1/3_function_objects/bind/cv_quals.cc: New.
+       * testsuite/tr1/3_function_objects/bind/mixed.cc: New.
+
 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
 
        * configure: Regenerate.