OSDN Git Service

* doc/xml/manual/bitmap_allocator.xml: Fix typos.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 4e55115..e399b2b 100644 (file)
@@ -1,3 +1,319 @@
+2011-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * doc/xml/manual/bitmap_allocator.xml: Fix typos.
+
+2011-05-18  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * libsupc++/initializer_list: Use noexcept specifier.
+       (initializer_list<>::size, begin, end): Qualify as const.
+       * include/bits/move.h (__addressof, forward, move, addressof): Specify
+       as noexcept.
+       * include/std/bitset: Use noexcept specifier throughout.
+       * include/debug/bitset: Update.
+       * include/profile/bitset: Likewise.
+
+2011-05-17  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/tuple: Use noexcept where appropriate.
+       (tuple<>::swap): Rework implementation.
+       (_Head_base<>::_M_swap_impl): Remove.
+       (get(std::tuple<>&&)): Add.
+       * testsuite/20_util/tuple/element_access/get2.cc: New.
+       * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
+       line number.
+
+2011-05-16  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/utility: Simplify the last commit, the whole
+       std::get code is C++0x only.
+
+2011-05-16  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/utility (get(std::pair<>&&)): Add.
+       * include/bits/stl_pair.h (pair::swap(pair&),
+       swap(pair<>&, pair<>&)): Use noexcept.
+       * include/bits/random.h (discard_block_engine<>::base,
+       independent_bits_engine<>::base, shuffle_order_engine<>::base,
+       random_device::entropy): Use noexcept.
+       * include/std/array: Use noexcept where appropriate.
+       (get(array<>&&)): Add.
+       * testsuite/23_containers/array/requirements/get.cc: New.
+       * testsuite/20_util/pair/get.cc: Likewise.
+       * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
+       line number.
+
+2011-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
+       Add.
+       * include/std/limits: Use the latter everywhere.
+       (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
+       macro usages, the specializations exist only in C++0x mode.
+       * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
+       line number.
+
+2011-05-11  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
+       dg-require-cmath.
+       * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
+
+2011-05-11  François Dumont  <francois.cppdevs@free.fr>
+
+       * include/ext/pb_ds/detail/resize_policy/
+       hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
+       _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
+       * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
+       find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
+       constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
+       (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
+       * include/ext/pb_ds/detail/debug_map_base.hpp,
+       splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
+       cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
+       leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
+       bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
+       rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
+       PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
+       macro definitions move...
+       * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
+       * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
+       * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
+       resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
+       left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
+       binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
+       rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
+       PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
+       * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
+       ...here.
+
+2011-05-09  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/48933
+       * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
+       erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
+       llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
+       nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
+       scalbn, tgamma, trunc): Use __enable_if on the return type.
+       * include/tr1/cmath: Likewise.
+       * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
+       * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
+
+2011-05-07  François Dumont  <francois.cppdevs@free.fr>
+
+       * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
+       (_GLICXX_DEBUG_VERIFY): Use latter.
+       * include/ext/pb_ds/detail/resize_policy/
+       hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
+       containing the original assert call.
+       * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
+       find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
+       constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
+       split_join_fn_imps.hpp: Likewise.
+       * include/ext/pb_ds/detail/cc_hash_table_map_/
+       erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
+       find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
+       debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
+       constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
+       erase_no_store_hash_fn_imps.hpp: Likewise.
+       * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
+       insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
+       constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
+       leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
+       Likewise.
+       * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
+       r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
+       debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
+       bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
+       Likewise.
+       * include/ext/pb_ds/detail/gp_hash_table_map_/
+       erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
+       find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
+       debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
+       resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
+       debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
+       Likewise.
+       * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
+       constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
+       erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
+       resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
+       * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
+       find_fn_imps.hpp, insert_fn_imps.hpp,
+       constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
+       pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
+       * include/ext/pb_ds/detail/binomial_heap_/
+       constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
+       binomial_heap_.hpp: Likewise.
+       * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
+       erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
+       constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
+       * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
+       find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
+       constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
+       split_join_fn_imps.hpp: Likewise.
+       * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
+       ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
+       debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
+       * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
+       * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
+       find_fn_imps.hpp, insert_fn_imps.hpp,
+       constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
+       splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
+       * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
+       find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
+       insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
+       * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
+       rc_binomial_heap_.hpp, insert_fn_imps.hpp,
+       constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
+       split_join_fn_imps.hpp: Likewise.
+       * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
+       insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
+       debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
+       * include/ext/pb_ds/hash_policy.hpp: Likewise.
+
+2011-05-06  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
+
+2011-05-04  Marc Glisse  <marc.glisse@normalesup.org>
+
+       PR libstdc++/47913 (again)
+       * include/std/ratio (ratio_add, ratio_less): Rewrite.
+       * testsuite/20_util/ratio/operations/47913.cc: Extend.
+       * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
+       line numbers.
+       * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
+
+2011-05-03  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/48848
+       * include/std/valarray (valarray<>::valarray(valarray&&),
+       valarray<>::operator=(valarray&&), valarray<>::swap): Add.
+       * doc/xml/manual/status_cxx200x.xml: Update.
+       * testsuite/26_numerics/valarray/moveable.cc: New.
+       * testsuite/26_numerics/valarray/swap.cc: Likewise.
+
+2011-05-03  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/48750
+       * include/parallel/multiway_merge.h: Run _ValueType destructors.
+       * include/parallel/multiway_mergesort.h: Likewise.
+       * include/parallel/quicksort.h: Likewise.
+       * include/parallel/random_shuffle.h: Likewise.
+       * include/parallel/partial_sum.h: Likewise.
+       * include/parallel/losertree.h: Run destructors; minor tweaks.
+       * include/parallel/par_loop.h: Run destructors, fix memory
+       allocations and deallocations.
+       * testsuite/26_numerics/accumulate/48750.cc: New.
+
+       * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
+       parallel-mode to avoid spurious multiple errors.
+
+2011-05-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/std/functional (bind): Remove from overload set when first
+       argument type might be a socket file descriptor.
+       * testsuite/20_util/bind/socket.cc: New.
+
+2011-05-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/48848
+       * doc/xml/manual/status_cxx200x.xml: Update valarray status.
+       * doc/html/*: Regenerate.
+
+2011-05-02  Ollie Wild  <aaw@google.com>
+
+       * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
+       Fix unqualified lookup.
+       (__sso_string_base<>::_M_assign): Likewise.
+       (__sso_string_base<>::_M_reserve): Likewise.
+       (__sso_string_base<>::_M_mutate): Likewise.
+       (__sso_string_base<>::_M_erase): Likewise.
+       * include/ext/vstring.h (__versa_string<>::replace): Likewise.
+       (__versa_string<>::compare): Likewise.
+       * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
+
+2011-05-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
+       and FDIS content.
+       * doc/xml/manual/documentation_hacking.xml: Fix typo.
+       * doc/html/*: Regenerate.
+
+2011-04-30  Daniel Krugler  <daniel.kruegler@googlemail.com>
+
+       * include/std/type_traits (__is_default_constructible_atom,
+       __is_default_constructible_safe<, true>,
+       __is_direct_constructible_new_safe,
+       __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
+       __is_direct_constructible_ref_cast, __is_direct_constructible,
+       __is_nary_constructible): Simplify; add comments throughout.
+
+2011-04-30  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
+       Adjust dg-error line numbers.
+       * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
+       Likewise.
+       * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
+
+2011-04-30  Doug Kwan  <dougkwan@google.com>
+
+       * include/Makefile.am (install-freestanding-headers): Also install
+       cxxabi_tweaks.h.
+       * include/Makefile.in: Regenerate.
+
+2011-04-28  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/48760
+       * include/std/complex (complex<float>::complex(float, float),
+       complex<double>::complex(double, double),
+       complex<long double>::complex(long double, long double)): Use
+       list-initialization in C++0x mode, initialize in the body in
+       C++03 mode.
+       * testsuite/26_numerics/complex/cons/48760.cc: New.
+       * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
+
+2011-04-28  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/bitset (_Base_bitset(unsigned long long)): Minor
+       tweak, remove redundant round braces.
+
+2011-04-27  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/bits/move.h (move_if_noexcept): Add.
+       * testsuite/20_util/move_if_noexcept/requirements/
+       explicit_instantiation.cc: New.
+       * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
+
+2011-04-25  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/type_traits (struct underlying_type): Add.
+       * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
+       * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
+       Likewise.
+       * testsuite/20_util/underlying_type/requirements/
+       explicit_instantiation.cc: Likewise.
+       * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
+       line number.
+
+2011-04-24  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/parallel/multiway_merge.h: Uglify equally_split
+       and equally_split_point throughout.
+       * include/parallel/par_loop.h: Likewise.
+       * include/parallel/equally_split.h: Likewise.
+       * include/parallel/set_operations.h: Likewise.
+       * include/parallel/unique_copy.h: Likewise.
+       * include/parallel/multiway_mergesort.h: Likewise.
+       * include/parallel/search.h: Likewise.
+       * include/parallel/partial_sum.h: Likewise.
+       * include/parallel/find.h: Likewise.
+
+2011-04-24  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
+       documentation.  Expand link text.
+
 2011-04-24  Gerald Pfeifer  <gerald@pfeifer.com>
 
        * libsupc++/cxxabi.h: Adjust link to FAQ entry.
 
        * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
        unused compilation result thanks to /dev/null.
-       * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode
-       check_v3_target_profile_mode check_v3_target_normal_mode
-       check_v3_target_cstdint check_v3_target_cmath
-       check_v3_target_atomic_builtins check_v3_target_gthreads
-       check_v3_target_nanosleep check_v3_target_sched_yield
-       check_v3_target_string_conversions check_v3_target_swprintf
+       * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
+       check_v3_target_profile_mode, check_v3_target_normal_mode,
+       check_v3_target_cstdint, check_v3_target_cmath,
+       check_v3_target_atomic_builtins, check_v3_target_gthreads,
+       check_v3_target_nanosleep, check_v3_target_sched_yield,
+       check_v3_target_string_conversions, check_v3_target_swprintf,
        check_v3_target_binary_io): Use simple preprocessing rather than
        compilation. Discard unused preprocessing result thanks to /dev/null.
 
        (ref(const A&&), cref(const A&&): Define as deleted.
        * include/std/future (async): Simplify SFINAE and use result_of to
        support pointer to member.
-       * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to 
+       * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
        member.
        * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
        * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types