OSDN Git Service

2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index e5915c1..e5fd280 100644 (file)
@@ -1,3 +1,92 @@
+2011-05-31  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/std/tuple: Restore is_convertible constraint.
+       * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: Remove.
+
+2011-05-30  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/49236
+       * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
+       line number.
+
+2011-05-30  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/std/tuple: Implement uses-allocator construction.
+       * include/bits/allocator.h (uses_allocator): Move to ...
+       * include/bits/uses_allocator.h: New file.
+       * include/Makefile.am: Add new header.
+       * include/Makefile.in: Regenerate.
+       * testsuite/20_util/uses_allocator/cons_neg.cc: New.
+       * testsuite/20_util/uses_allocator/construction.cc: New.
+       * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: New.
+       * testsuite/20_util/tuple/cons/allocators.cc: New.
+
+2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * testsuite/20_util/pointer_traits/pointer_to.cc: Fix.
+
+2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and
+       GLIBCXX_CHECK_SC_NPROCESSORS_ONLN.
+       * configure.ac: Use them. Increase minor version.
+       * configure: Regenerate.
+       * config.h.in: Regenerate.
+       * include/std/thread (thread::hardware_concurrency): Remove inline
+       definition.
+       * src/thread.cc (thread::hardware_concurrency): Define.
+       * config/abi/pre/gnu.ver: Export new symbol @3.4.17
+       * testsuite/util/testsuite_abi.cc: Add new version.
+       * testsuite/lib/libstdc++.exp (check_v3_target_nprocs): Add.
+       * testsuite/lib/dg-options.exp (dg-require-nprocs): Add.
+       * testsuite/30_threads/thread/members/hardware_concurrency.cc: Use
+       dg-require-nprocs and verify hardware_concurrency returns non-zero.
+
+2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * testsuite/20_util/pointer_traits/pointer_to.cc: New.
+
+2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/Makefile.am: Add new ptr_traits.h header.
+       * include/Makefile.in: Regenerate.
+       * include/bits/ptr_traits.h (pointer_traits): New.
+       * include/bits/allocator.h (allocator_traits): Add.
+       * include/ext/array_allocator.h (construct, destroy): Update C++0x
+       versions.
+       * include/ext/bitmap_allocator.h (construct, destroy): Likewise.
+       * include/ext/extptr_allocator.h (construct, destroy): Likewise.
+       * include/ext/malloc_allocator.h (construct, destroy): Likewise.
+       * include/ext/mt_allocator.h (construct, destroy): Likewise.
+       * include/ext/new_allocator.h (construct, destroy): Likewise.
+       * include/ext/pool_allocator.h (construct, destroy): Likewise.
+       * include/ext/throw_allocator.h (construct, destroy): Likewise.
+       * testsuite/20_util/allocator_traits/requirements/typedefs.cc: New.
+       * testsuite/20_util/allocator_traits/requirements/
+       explicit_instantiation.cc: New.
+       * testsuite/20_util/allocator_traits/members/max_size.cc: New.
+       * testsuite/20_util/allocator_traits/members/select.cc: New.
+       * testsuite/20_util/allocator_traits/members/construct.cc: New.
+       * testsuite/20_util/allocator_traits/members/allocate_hint.cc: New.
+       * testsuite/20_util/allocator_traits/members/destroy.cc: New.
+       * testsuite/20_util/pointer_traits/requirements/typedefs.cc: New.
+       * testsuite/20_util/pointer_traits/requirements/
+       explicit_instantiation.cc: New.
+
+2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/std/future (launch): Update enumerators and define
+       operators required for bitmask type. Remove trailing whitespace.
+       * src/future.cc: Remove trailing whitespace.
+       * testsuite/30_threads/async/any.cc: Adjust.
+       * testsuite/30_threads/async/sync.cc: Adjust.
+       * testsuite/30_threads/async/launch.cc: New.
+
+2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/std/future: Use noexcept.
+       * src/future.cc: Likewise.
+
 2011-05-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
 
        * include/std/thread (this_thread::sleep_until): Move after sleep_for.