OSDN Git Service

2010-11-28 Jonathan Wakely <jwakely.gcc@gmail.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index bf498c3..601fd40 100644 (file)
@@ -1,3 +1,79 @@
+2010-11-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/46689
+       * testsuite/20_util/shared_ptr/comparison/cmp.cc: Remove tests for
+       invalid comparisons.
+
+2010-11-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/bits/shared_ptr_base.h (operator>, operator>=, operator<=):
+       Remove comparisons not specified in the C++0x draft.
+
+2010-11-27  François Dumont  <francois.cppdevs@free.fr>
+
+       * include/debug/unordered_map (unordered_multimap<>::erase): Fix to
+       erase all elements associated to the key.
+       * include/debug/unordered_set (unordered_multiset<>::erase): Likewise.
+       * testsuite/23_containers/unordered_multimap/erase/1.cc: Modify to
+       check for multiple erase.
+       * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise.
+
+2010-11-27  François Dumont  <francois.cppdevs@free.fr>
+
+       * include/debug/unordered_map, unordered_set (unordered_map<>::insert,
+       unordered_multimap<>::insert, unordered_set<>::insert,
+       unordered_multiset<>::insert) Debug check iterator hint and pass it to
+       normal implementation.
+
+2010-11-27  François Dumont  <francois.cppdevs@free.fr>
+
+       * include/debug/bitset (bitset<>::reference): Clean code, use normal
+       reference type in experimental mode.
+       * testsuite/23_containers/bitset/debug/invalid/1.cc: Fix for
+       experimental mode.
+
+2010-11-26  François Dumont  <francois.cppdevs@free.fr>
+
+       * testsuite/lib/libstdc++.exp ([check_v3_target_debug_mode]): Use
+       remote_file delete for generated exe.
+       ([check_v3_target_profile_mode]): Add.
+       * testsuite/lib/dg-options.exp ([dg-require-profile-mode]): Add
+       * testsuite/ext/profile/mh.cc, profiler_algos.cc, all.cc: Use
+       dg-require-profile-mode, remove explicit _GLIBCXX_PROFILE definition.
+
+2010-11-25  François Dumont  <francois.cppdevs@free.fr>
+
+       * src/debug.cc: Introduce a mutex pool in get_safe_base_mutex.
+       Move code used to manipulate sequence safe iterators from safe
+       iterator methods to safe sequence ones. Remove usage of safe iterator
+       mutex, keep _Safe_iterator_base::_M_get_mutex for library backward
+       binary compatibility.
+       * src/Makefile.am: Build debug.cc in gnu++0x mode for _Hash_impl usage.
+       * src/Makefile.in: Regenerate
+       * include/debug/safe_base.h: Add _Safe_iterator_base _M_invalidate
+       and _M_reset. Add _Safe_sequence_base _M_attach, _M_attach_single,
+       _M_detach and _M_detach_single.
+       * include/debug.safe_iterator.h, safe_iterator.tcc: Remove
+       _Safe_iterator _M_invalidate and _M_invalidate_single. Implement all
+       methods in terms of normal iterators rather than safe ones.
+       * include/debug/safe_sequence.h: Replace _Safe_sequence
+       _M_transfe_iter with _M_transfer_from_if taking the source sequence
+       and a predicate signaling when a safe iterator shall be transfered.
+       Add _Equal_to predicate.
+       * include/debug/safe_sequence.tcc: New.
+       * include/Makefile.am: Adjust.
+       * include/Makefile.in: Regenerate.
+       * include/debug/forward_list: Swap safe iterators in move constructor.
+       Do not invalidate before begin in _M_invalidate_all method.
+       Reimplement safe methods using normal iterators rather than safe ones.
+       * include/debug/set.h, unordered_map, multiset.h, vector,
+       unordered_set, deque, map.h, list, multimap.h: Reimplement safe method
+       using normal iterators rather than safe ones.
+       * testsuite/23_containers/forward_list/debug/clear.cc, swap.cc,
+       move_constructor.cc, splice_after.cc, splice_after1.cc,
+       splice_after2.cc, splice_after3.cc, splice_after4.cc: New.
+       * testsuite/23_containers/vector/debug/multithreaded_swap.cc: New.
+
 2010-11-24  Benjamin Kosnik  <bkoz@redhat.com>
 
        * include/std/tuple: Mark more constructors constexpr.