X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=libstdc%2B%2B-v3%2FChangeLog;h=94cbefa52ffa41e6ab586ad349da1018c7e83948;hp=cdf96562862f039cf1d5435a4272678cf24a9959;hb=9e13b5851aff928608c32ec5632c832d8b02c4d0;hpb=367b2e9f6b8aa30dca800742d0ad2913ab6ec3c5 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index cdf96562862..94cbefa52ff 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,746 @@ +2008-06-11 Paolo Carlini + + * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type), + cend(size_type)): Add per DR 691. + * testsuite/23_containers/unordered_map/requirements/cliterators.cc: + New. + * testsuite/23_containers/unordered_multimap/requirements/ + cliterators.cc: Likewise. + * testsuite/23_containers/unordered_set/requirements/cliterators.cc: + Likewise. + * testsuite/23_containers/unordered_multiset/requirements/ + cliterators.cc: Likewise. + * doc/xml/manual/intro.xml: Add an entry for DR 691. + +2008-06-11 Matthias Klose + + * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag: + Remove empty directories. + +2008-06-07 Joseph Myers + + * configure.host (xscale, ep9312, m680[246]0, solaris2.5, + solaris2.5.[0-9], solaris2.6, windiss*): Remove. + * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove. + * configure: Regenerate. + * config/os/solaris/solaris2.5: Remove directory. + * config/os/solaris/solaris2.6: Remove directory. + * config/os/windiss: Remove directory. + +2008-06-06 Benjamin Kosnik + + * doc/xml/manual/using.xml: Outline exception topics. + + * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format. + * include/ext/pb_ds/detail/left_child_next_sibling_heap_/ + policy_access_fn_imps.hpp: Same. + * include/ext/pb_ds/priority_queue.hpp: Same. + * include/ext/throw_allocator.h: Same. + + * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag. + (sequence_tag): New tag. Doxygen markup fixes. + + * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file. + + * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix + comment typo, include paths, format. + * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same. + * testsuite/performance/ext/pb_ds/ + hash_random_int_erase_mem_usage.cc: Same. + * testsuite/performance/ext/pb_ds/ + random_int_subscript_find_timing.cc: Same. + * testsuite/performance/ext/pb_ds/ + priority_queue_text_push_timing.cc: Same. + * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same. + * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same. + * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp + * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp + * testsuite/performance/ext/pb_ds/ + priority_queue_random_int_push_timing.cc: Same. + * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp + * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same. + * testsuite/performance/ext/pb_ds/ + priority_queue_text_push_pop_timing.cc: Same. + * testsuite/performance/ext/pb_ds/ + priority_queue_text_join_timing.cc: Same. + * testsuite/performance/ext/pb_ds/ + priority_queue_random_int_push_pop_timing.cc: Same. + * testsuite/performance/ext/pb_ds/ + random_int_subscript_insert_timing.cc: Same. + * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same. + * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp + * testsuite/performance/ext/pb_ds/ + priority_queue_text_pop_mem_usage.cc: Same. + * testsuite/performance/ext/pb_ds/ + hash_zlob_random_int_find_timing.cc: Same. + * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same. + * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same. + * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same. + * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same. + * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same. + * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same. + * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same. + * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same. + * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same. + * testsuite/util/regression/trait/priority_queue/trait.hpp: Same. + * testsuite/util/regression/trait/erase_if_fn.hpp: Same. + * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same. + * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same. + * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same. + * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same. + * testsuite/util/regression/trait/assoc/trait.hpp: Same. + * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same. + * testsuite/util/regression/trait/assoc/type_trait.hpp: Same. + * testsuite/util/regression/trait/assoc/to_string.hpp: Same. + * testsuite/util/regression/basic_type.hpp: Same. + * testsuite/util/common_type/priority_queue/string_form.hpp: Same. + * testsuite/util/common_type/priority_queue/detail/ + ds_string_form.hpp: Same. + * testsuite/util/common_type/assoc/string_form.hpp: Same. + * testsuite/util/common_type/assoc/detail/ + resize_policy_string_form.hpp: Same. + * testsuite/util/common_type/assoc/detail/ + trigger_policy_string_form.hpp: Same. + * testsuite/util/common_type/assoc/detail/ + comb_hash_fn_string_form.hpp: Same. + * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same. + * testsuite/util/common_type/assoc/detail/ + size_policy_string_form.hpp: Same. + * testsuite/util/common_type/assoc/detail/ + probe_fn_string_form.hpp: Same. + * testsuite/util/common_type/assoc/detail/ + list_update_policy_string_form.hpp: Same. + * testsuite/util/common_type/assoc/detail/ + store_hash_string_form.hpp: Same. + * testsuite/util/common_type/assoc/native_set.hpp: Same. + * testsuite/util/io/prog_bar.cc: Same. + + * testsuite/util/regression/rand/io: Remove. + * testsuite/util/regression/rand/io/priority_queue: Same. + * testsuite/util/regression/rand/io/assoc: Same. + * testsuite/util/regression/rand/io/priority_queue/ + xml_formatter.hpp: Consolidate this... + * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this + * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this + * testsuite/util/regression/rand/xml_formatter.hpp: ...here. + + * testsuite/util/regression/rand/priority_queue/ + container_rand_regression_test.hpp:To ... + container_rand_regression_test.h: ... this. + * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ... + * testsuite/util/regression/rand/priority_queue/ + container_rand_regression_test.tcc: ... this. + PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate. + PB_DS_SET_DESTRUCT_PRINT: Fold inline. + PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline. + * testsuite/util/regression/rand/priority_queue/ + rand_regression_test.hpp: Adjust includes. + + * testsuite/util/regression/rand/assoc/ + container_rand_regression_test.hpp: To ... + * testsuite/util/regression/rand/assoc/ + container_rand_regression_test.h: ... this. + * testsuite/util/regression/rand/assoc/detail/*.hpp:To ... + * testsuite/util/regression/rand/assoc/ + container_rand_regression_test.tcc: ...this. + * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust + includes. + + * testsuite/util/regression/priority_queue: Remove. + * testsuite/util/regression/assoc: Remove. + * testsuite/util/regression/priority_queue/ + common_type.hpp: Consolidate this... + * testsuite/util/regression/assoc/common_type.hpp: ... and this + * testsuite/util/regression/common_type.hpp: ...here. + + * testsuite/util/rng: Remove. + * testsuite/util/rng/twister_rand_gen.cc: Consolidate... + * testsuite/util/rng/twister_rand_gen.hpp: ... and this + * testsuite/util/testsuite_rng.h: ...here. + + * testsuite/util/native_type/priority_queue: Remove. + * testsuite/util/native_type/priority_queue/ + native_priority_queue.hpp: To... + * testsuite/util/native_type/native_priority_queue.hpp: ...here. + + * testsuite/util/native_type/assoc: Remove. + * testsuite/util/native_type/assoc/native_multimap.hpp: To... + * testsuite/util/native_type/assoc/native_tree_tag.hpp: To... + * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To... + * testsuite/util/native_type/assoc/native_set.hpp: To... + * testsuite/util/native_type/assoc/native_map.hpp: To... + * testsuite/util/native_type/assoc/native_hash_set.hpp: To... + * testsuite/util/native_type/assoc/native_hash_tag.hpp: To... + * testsuite/util/native_type/assoc/native_hash_map.hpp: To... + * testsuite/util/native_type/native_multimap.hpp: ...here. + * testsuite/util/native_type/native_tree_tag.hpp: ...here. + * testsuite/util/native_type/native_hash_multimap.hpp: ...here. + * testsuite/util/native_type/native_set.hpp: ...here. + * testsuite/util/native_type/native_map.hpp: ...here. + * testsuite/util/native_type/native_hash_set.hpp: ...here. + * testsuite/util/native_type/native_hash_tag.hpp: ...here. + * testsuite/util/native_type/native_hash_map.hpp: ...here. + + * testsuite/util/common_type/priority_queue/common_type.hpp: + Make include guard distinct. + * testsuite/util/common_type/assoc/common_type.hpp: Same. + +2008-06-06 Joseph Myers + + * configure.ac: Do not check for gconv.h. + * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or + gconf.h. For glibc and uClibc systems, define + _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and + AM_ICONV. + * configure, config.h.in: Regenerate. + +2008-06-06 Joseph Myers + + * testsuite/17_intro/headers/all.cc, + testsuite/17_intro/headers/all_c++200x_compatibility.cc, + testsuite/17_intro/headers/all_pedantic_errors.cc, + testsuite/ext/headers.cc: Only include + and if + _GLIBCXX_HAVE_ICONV. + +2008-06-05 Johannes Singler + + * include/parallel/random_shuffle.h: + (parallel_random_shuffle_drs) Get the actual number of + threads after entering the parallel region. Indentation. + * include/parallel/algo.h: (random_shuffle(begin, end)) + Add namespace qualification to avoid ambiguity. + +2008-06-04 Benjamin Kosnik + + * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef + to allocator_type, as per existing conventions. + * include/ext/pb_ds/detail/binomial_heap_base_/ + binomial_heap_base_.hpp: Same. + * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same. + * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same. + * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same. + * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same. + * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same. + * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same. + * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same. + * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same. + * include/ext/pb_ds/detail/left_child_next_sibling_heap_/ + left_child_next_sibling_heap_.hpp: Same. + * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same. + * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same. + * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same. + * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same. + * include/ext/pb_ds/detail/rc_binomial_heap_/ + rc_binomial_heap_.hpp: Same. + * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same. + * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same. + * include/ext/pb_ds/list_update_policy.hpp: Same. + * include/ext/pb_ds/exception.hpp: Same. + * include/ext/pb_ds/tree_policy.hpp: Same. + * include/ext/pb_ds/trie_policy.hpp: Same. + * include/ext/pb_ds/priority_queue.hpp: Same. + * testsuite/util/regression/trait/assoc/trait.hpp: Same. + * testsuite/util/regression/trait/assoc/type_trait.hpp: Same. + * testsuite/util/regression/rand/priority_queue/detail/ + defs_fn_imps.hpp: Same. + * testsuite/util/regression/rand/priority_queue/detail/ + operator_fn_imps.hpp: Same. + * testsuite/util/regression/rand/priority_queue/ + container_rand_regression_test.hpp: Same. + * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same. + * testsuite/util/regression/rand/assoc/detail/ + operator_fn_imps.hpp: Same. + * testsuite/util/regression/rand/assoc/ + container_rand_regression_test.hpp: Same. + * testsuite/util/native_type/assoc/native_multimap.hpp: Same. + * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same. + * testsuite/util/common_type/assoc/detail/ + tree_supports_order_statistics.hpp: Same. + * testsuite/util/common_type/assoc/detail/ + trie_supports_prefix_search.hpp: Same. + * testsuite/util/common_type/assoc/detail/ + trie_supports_order_statistics.hpp: Same. + +2008-06-02 Sandra Loosemore + Daniel Jacobowitz + + * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use + dg-require-fileio. + * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise. + +2008-06-02 Paolo Carlini + + * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode, + avoid a memory leak if the first __uninitialized_move_a throws. + (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly + to _M_insert_aux. + * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust. + * testsuite/23_containers/vector/resize/moveable.cc: Likewise. + +2008-05-31 Paolo Carlini + Chris Jefferson + + PR libstdc++/36338 + * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly. + (pop_heap): Slightly tweak. + +2008-05-29 Paolo Carlini + + * include/debug/bitset (bitset(const char*)): Implement DR 778 + in debug-mode too. + + * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode + deal with char16_t and char32_t. + +2008-05-26 Paolo Carlini + + * include/c_global/cmath (pow(float, int), pow(double, int), + pow(long double, int)): Do not define in C++0x mode, per DR 550. + * include/tr1_impl/cmath (pow): Do not bring in unconditionally + from namespace std. + * include/tr1/cmath (pow(double, double), pow(float, float), + pow(long double, long double), pow(_Tp, _Up)): Define. + * include/tr1/complex (pow): Do not bring in from namespace std. + (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&, + const _Tp&), pow(const _Tp&, const std::complex<_Tp>&), + pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define. + * include/tr1_impl/complex (pow(const std::complex<_Tp>&, + const _Up&), pow(const _Tp&, const std::complex<_Up>&), + pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always + define. + * doc/xml/manual/intro.xml: Add an entry for DR 550. + * testsuite/26_numerics/headers/cmath/dr550.cc: New. + * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust. + +2008-05-25 Paolo Carlini + + * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out. + * include/std/date_time: Likewise. + * include/std/system_error: Likewise. + * include/std/type_traits: Likewise; fix typo in macro name. + * include/std/regex: Likewise. + * include/std/random: Likewise. + * include/std/unordered_map: Likewise. + * include/std/condition_variable: Likewise. + * include/std/unordered_set: Likewise. + * include/std/mutex: Likewise. + * include/std/array: Likewise. + + * include/c_std/cmath: Fix obsolete comment. + * include/c_global/cmath: Likewise. + +2008-05-25 Paolo Carlini + + * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp), + complex::real(float), complex::imag(float), + complex::real(double), complex::imag(double), + complex::real(long double), + complex::imag(long double)): Add per DR 387. + (complex<>::real(), complex<>::imag(), complex::real(), + complex::imag(), complex::real(), + complex::imag(), complex::real(), + complex::imag(long double)): Adjust in C++0x mode. + (real(complex<>&), imag(complex<>&), real(const complex<>&), + imag(const complex<>&)): Likewise. + * testsuite/26_numerics/complex/dr387.cc: New. + * doc/xml/manual/intro.xml: Add an entry for DR 387. + +2008-05-25 Paolo Carlini + + * include/std/complex: Trivial stylistic changes, define inline + members inline, consistently with the rest of the library. + (pow(const _Tp&, const complex<>&)): Minor tweak. + +2008-05-24 Paolo Carlini + + * src/atomic.cc (atomic_flag_test_and_set_explicit, + atomic_flag_clear_explicit): Suppress unused parameter warnings. + +2008-05-23 Paolo Carlini + + * include/std/tuple: Replace int -> size_t throughout per DR 775. + * include/tr1_impl/array: Likewise. + * include/tr1_impl/utility: Likewise. + * doc/xml/manual/intro.xml: Add an entry for DR 775. + +2008-05-23 Paolo Carlini + + * doc/xml/manual/intro.xml: Adjust links to ISO documents. + +2008-05-23 Paolo Carlini + + * include/c_std/cmath (fpclassify): Use __builtin_fpclassify. + * include/c_global/cmath (fpclassify): Likewise. + +2008-05-22 Paolo Carlini + + * include/tr1_impl/hashtable_policy.h (_Map_base<,, + std::_Select1st<_Pair>, true,>::at): Add per DR 761. + * testsuite/23_containers/unordered_map/dr761.cc: New. + * doc/xml/manual/intro.xml: Add an entry for DR 761. + +2008-05-22 Paolo Carlini + + * testsuite/26_numerics/complex/dr781.cc: Add test variable. + +2008-05-22 Paolo Carlini + + * include/std/complex (proj(const std::complex<>&), proj(_Tp)): + Add per DR 781. + * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to... + * include/tr1/complex: ... here. + * doc/xml/manual/intro.xml: Add an entry for DR 781. + * testsuite/26_numerics/complex/dr781.cc: Add. + * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update. + * configure: Regenerate. + +2008-05-21 Paolo Carlini + + * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778. + (bitset<>::_M_copy_from_ptr): Add. + (bitset<>::_M_copy_from_string): Forward to the latter. + * doc/xml/manual/intro.xml: Add an entry for DR 778. + * testsuite/23_containers/bitset/cons/2.cc: Add. + +2008-05-21 Paolo Carlini + + * doc/html/ext/lwg-active.html: Update to Revision R56. + * doc/html/ext/lwg-closed.html: Likewise. + * doc/html/ext/lwg-defects.html: Likewise. + +2008-05-20 Paolo Carlini + + PR c++/33979 (partial) + * include/tr1_impl/functional_hash.h (hash, + hash): Add specializations. + * include/tr1_impl/type_traits (is_integral, + is_integral): Likewise. + * include/std/limits (numeric_limits, + numeric_limits): Likewise. + * src/limits_c++0x.cc: Add. + * src/Makefile.am: Update. + * testsuite/20_util/hash/requirements/explicit_instantiation.cc: + Update. + * testsuite/20_util/is_integral/value.cc: New. + * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise. + * testsuite/20_util/is_integral/requirements/ + explicit_instantiation.cc: Likewise. + * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise. + * config/abi/pre/gnu.ver: Export new numeric_limits symbols at + GLIBCXX_3.4.11. + * configure: Regenerate. + * src/Makefile.in: Likewise. + * config.h.in: Likewise. + +2008-05-16 Benjamin Kosnik + + * include/std/system_error: Align to current draft specifications. + * src/system_error.cc: Same. + * src/functexcept.cc: Adjust for corrected system_error construction. + * include/std/ostream: Adjust error_code inserter. + * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test. + * config/abi/pre/gnu.ver: Add new exports. + + * testsuite/util/testsuite_error.h: Consolidate error testing + utilities here. + * testsuite/19_diagnostics/error_code/cons/1.cc: Use + testsuite_error, adjust line numbers and constructor calls. + * testsuite/19_diagnostics/error_code/operators/equal.cc: Same. + * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same. + * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same. + * testsuite/19_diagnostics/error_category/cons/default.cc: Same. + * testsuite/19_diagnostics/error_category/operators/equal.cc: Same. + * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same. + * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc: + Same. + * testsuite/19_diagnostics/system_error/cons-1.cc: Same. + * testsuite/19_diagnostics/system_error/what-1.cc: Same. + * testsuite/19_diagnostics/system_error/what-2.cc: Same. + * testsuite/19_diagnostics/system_error/what-big.cc: Same. + * testsuite/19_diagnostics/system_error/what-3.cc: Same. + * testsuite/19_diagnostics/system_error/what-4.cc: Same. + +2008-05-15 Bernd Schmidt + + * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib. + * configure: Regenerate. + +2008-05-15 Johannes Singler + + * xml/manual/parallel_mode.xml: + General revision and documentation of new compile-time + options for sorting. + +2008-05-14 Benjamin Kosnik + + * include/std/mutex (mutex::try_lock): Eat errors. + (mutex::unlock): Same. + (recursive_mutex::try_lock): Eat errors. + (recursive_mutex::unlock): Same. + * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add + -pthreads, adjust line numbers. + * testsuite/30_threads/mutex/native_handle/1.cc: Same. + * testsuite/30_threads/mutex/cons/1.cc: Same. + * testsuite/30_threads/mutex/try_lock/1.cc: Same. + * testsuite/30_threads/mutex/try_lock/2.cc: Same. + * testsuite/30_threads/mutex/lock/1.cc: Same. + * testsuite/30_threads/mutex/unlock/1.cc: Same. + * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same. + * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same. + * testsuite/30_threads/recursive_mutex/cons/1.cc: Same. + +2008-05-14 Benjamin Kosnik + + * include/std/sstream: Adjust braces. + * include/bits/fstream.tcc: Same. + * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add + -shared-libgcc. + * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same. + + * doc/doxygen/user.cfg.in: Remove thread include. + +2008-05-13 David Daney + + * config/cpu/mips/atomicity.h: Remove file. + * config/cpu/mips: Remove directory. + * configure.host: Remove host specific handling for mips*-*-*. + +2008-05-12 Stefano Soffia + Paolo Carlini + + * include/debug/vector (vector<>::_M_requires_reallocation): Just + use this->capacity(). + (vector<>::capacity): Move non-pedantic / pedantic logic here. + * testsuite/23_containers/vector/ + debug_mode_requires_reallocation-2.cc: New. + + * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc: + Rename to debug_mode_requires_reallocation-1.cc + +2008-05-10 Roberto Bagnara + Paolo Carlini + + * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro. + * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc: + New. + +2008-05-07 Johannes Singler + + * include/parallel/quicksort.h: + (parallel_sort_qs_conquer) Explicitly request number of threads + in the parallel clause. + (parallel_sort_qs) Remove setting the number of threads globally. + +2008-05-06 Benjamin Kosnik + + * include/std/mutex (mutex::mutex): Fix usage of initializing macro. + (recursive_mutex::recursive_mutex): Same. + (once_flag::once_flag): Same. + * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers. + * testsuite/30_threads/mutex/cons/copy_neg.cc: Same. + * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same. + * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same. + +2008-05-06 Benjamin Kosnik + + * include/std/condition_variable: New. + * include/std/mutex: New. + * src/condition_variable.cc: New. + * src/mutex.cc: New. + * include/bits/functexcept.h: Add __throw_system_error varients. + * src/functexcept.cc: Same. + * config/abi/pre/gnu.ver: Add exports. + + * doc/xml/manual/using.xml: Add new includes. + * doc/doxygen/user.cfg.in: Doxygen support. + * doc/doxygen/doxygroups.cc: Same. + + * include/Makefile.am: Add mutex, condition_variable. + * include/Makefile.in: Regenerated. + * src/Makefile.am: Add mutex.cc, condition_variable.cc. + * src/Makefile.in: Regenerated. + + * testsuite/30_threads: New. + * testsuite/30_threads/lock_error: New. + * testsuite/30_threads/mutex: New. + * testsuite/30_threads/mutex/dest: New. + * testsuite/30_threads/mutex/dest/destructor_locked.cc: New. + * testsuite/30_threads/mutex/native_handle: New. + * testsuite/30_threads/mutex/native_handle/1.cc: New. + * testsuite/30_threads/mutex/cons: New. + * testsuite/30_threads/mutex/cons/assign_neg.cc: New. + * testsuite/30_threads/mutex/cons/1.cc: New. + * testsuite/30_threads/mutex/cons/copy_neg.cc: New. + * testsuite/30_threads/mutex/requirements: New. + * testsuite/30_threads/mutex/requirements/typedefs.cc: New. + * testsuite/30_threads/mutex/try_lock: New. + * testsuite/30_threads/mutex/try_lock/1.cc: New. + * testsuite/30_threads/mutex/try_lock/2.cc: New. + * testsuite/30_threads/mutex/lock: New. + * testsuite/30_threads/mutex/lock/1.cc: New. + * testsuite/30_threads/mutex/unlock: New. + * testsuite/30_threads/mutex/unlock/1.cc: New. + * testsuite/30_threads/recursive_mutex: New. + * testsuite/30_threads/recursive_mutex/dest: New. + * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New. + * testsuite/30_threads/recursive_mutex/native_handle: New. + * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New. + * testsuite/30_threads/recursive_mutex/cons: New. + * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New. + * testsuite/30_threads/recursive_mutex/cons/1.cc: New. + * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New. + * testsuite/30_threads/recursive_mutex/requirements: New. + * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New. + * testsuite/30_threads/lock_guard: New. + * testsuite/30_threads/lock_guard/requirements: New. + * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New. + * testsuite/30_threads/lock_guard/requirements/ + explicit_instantiation.cc: New. + * testsuite/30_threads/headers: New. + * testsuite/30_threads/headers/mutex: New. + * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New. + * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New. + * testsuite/30_threads/headers/condition_variable: New. + * testsuite/30_threads/headers/condition_variable/ + types_std_c++0x.cc: New. + * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New. + * testsuite/30_threads/once_flag: New. + * testsuite/30_threads/unique_lock: New. + * testsuite/30_threads/unique_lock/requirements: New. + * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New. + * testsuite/30_threads/unique_lock/requirements/ + explicit_instantiation.cc: New. + * testsuite/17_intro/headers/c++200x/all.cc: Add new includes. + +2008-05-06 Benjamin Kosnik + + PR libstdc++/36130 + * include/bits/c++config: Namespace macros and setup only in C++. + * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New. + +2008-05-06 Johannes Singler + + * include/parallel/multiway_merge.h: + (multiway_merge_*_unguarded): + Pass sentinel directly, to allow correct determination. + (multiway_merge_loser_tree_unguarded): + Remove over-cautious assertion. + (calls to multiway_merge_*_splitting): + Parametrize with type that is correct in all cases. + * include/parallel/losertree.h: + (delete_min_insert (in many classes)): + Correct and standardize assertions. + +2008-05-05 Benjamin Kosnik + + * testsuite/util/testsuite_visualization.h: Move contents into... + * testsuite/util/testsuite_performance.h: ...here. + * testsuite/util/testsuite_common_types.h: Move + performance-related test infrastructure into + testsuite_performance. + * testsuite/performance/25_algorithms/search_n.cc: Fix includes. + * testsuite/performance/23_containers/find/map.cc: Same. + * testsuite/performance/23_containers/create/map.cc: Same. + * testsuite/performance/23_containers/insert_erase/associative.cc: Same. + * testsuite/performance/23_containers/insert/sequence.cc: Same. + * testsuite/performance/23_containers/insert/associative.cc: Same. + * testsuite/performance/23_containers/create_from_sorted/set.cc: Same. + * testsuite/performance/23_containers/index/map.cc: Same. + * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same. + * testsuite/performance/23_containers/create_sort/list.cc: Same. + * testsuite/performance/23_containers/sort_search/list.cc: Same. + * testsuite/performance/23_containers/producer_consumer/sequence.cc: + Same. + * testsuite/performance/23_containers/producer_consumer/associative.cc: + Same. + + * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers. + * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same. + +2008-05-05 Benjamin Kosnik + + * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements. + * 20_util/make_unsigned/requirements/typedefs-1.cc: Same. + +2008-05-01 Benjamin Kosnik + + * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change. + +2008-04-30 Ralf Wildenhues + + * include/Makefile.am (install-headers): Cope with empty + parallel_headers. + * include/Makefile.in: Regenerate. + +2008-04-29 Benjamin Kosnik + + * include/bits/c++config: Remove space between '#' and 'undef' for + _GLIBCXX_LONG_DOUBLE_COMPAT. + +2008-04-29 Joseph Myers + + * Makefile.am (install-html, install-pdf): Add dummy targets. + * Makefile.in: Regenerate. + * doc/Makefile.am (install-html, install-pdf): Remove. + * doc/Makefile.in: Regenerate. + +2008-04-28 Benjamin Kosnik + + * include/bits/c++config: Move os_defines and cpu_defines after + namespace definitions and base macros. + +2008-04-28 Benjamin Kosnik + + PR libstdc++/35887 + * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just + checking for omp.h. + * configure: Regenerate. + +2008-04-25 Benjamin Kosnik + + PR libstdc++/35922 + * include/std/unordered_map: Include debug/unordered_map if + _GLIBCXX_DEBUG. + * testsuite/23_containers/unordered_map/requirements/debug.cc: Move... + * testsuite/23_containers/unordered_map/requirements/ + debug_container.cc: ...here. + * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New. + * testsuite/23_containers/unordered_set/requirements/debug.cc: Move... + * testsuite/23_containers/unordered_set/requirements/ + debug_container.cc: ...here. + * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New. + +2008-04-25 Benjamin Kosnik + + PR libstdc++/35887 + * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support. + * configure.ac: Re-order compiler macros. + * configure: Regenerated. + +2008-04-24 Benjamin Kosnik + + PR libstdc++/35887 + * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL. + Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS. + * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp. + (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information. + * configure: Regenerate. + * include/Makefile.am (parallel_headers): Make conditional on + ENABLE_PARALLEL. + * include/Makefile.in: Regenerate. + +2008-04-24 Paolo Carlini + + PR libstdc++/35969 + * include/debug/list (merge): Use _M_transfer_iter, consistently + with the splice members. + * testsuite/23_containers/list/operations/35969.cc: New. + + * testsuite/23_containers/list/operators: Rename to + testsuite/23_containers/list/operations. + 2008-04-24 Benjamin Kosnik * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of @@ -8,7 +751,7 @@ * include/ext/atomicity.h: Use _GLIBCXX_ATOMIC_BUILTINS_4. * libsupc++/guard.cc: Use _GLIBCXX_ATOMIC_BUILTINS_4. * doc/xml/manual/concurrency.xm: Update docs. - + 2008-04-23 Benjamin Kosnik * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE, @@ -16,36 +759,36 @@ 2008-04-23 Johannes Singler - * include/parallel/quicksort.h: Reformat, - (parallel_sort_qs): Do not pass number of elements. - * include/parallel/balanced_quicksort.h: Reformat, - (parallel_sort_qsb): Do not pass number of elements. - * include/parallel/tags.h: - Introduce new tags for compile-time choice. - * include/parallel/merge.h: - (parallel_merge_advance):Beautified. - * include/parallel/algo.h: Reformatting (spaces for tabs) - New sort and stable_sort variants, corresponding to the tags. - * include/parallel/sort.h: - New sort and stable_sort variants, corresponding to the tags. - Changed determining the desired number of threads. + * include/parallel/quicksort.h: Reformat, + (parallel_sort_qs): Do not pass number of elements. + * include/parallel/balanced_quicksort.h: Reformat, + (parallel_sort_qsb): Do not pass number of elements. + * include/parallel/tags.h: + Introduce new tags for compile-time choice. + * include/parallel/merge.h: + (parallel_merge_advance):Beautified. + * include/parallel/algo.h: Reformatting (spaces for tabs) + New sort and stable_sort variants, corresponding to the tags. + * include/parallel/sort.h: + New sort and stable_sort variants, corresponding to the tags. + Changed determining the desired number of threads. 2008-04-23 Johannes Singler - * include/parallel/multiway_merge.h - (multiway_merge_loser_tree): - Leave checks to callers, add precondition instead. - (multiway_merge_loser_tree_unguarded): Likewise. - (multiway_merge_loser_tree_sentinel): Likewise. - (sequential_multiway_merge): Added checks for total length 0. - (parallel_multiway_merge): Skip empty sequences. - (multiway_merge, all variants): - Remove temporary variable, return directly. - (stable_multiway_merge, all variants): Likewise. - (multiway_merge_sentinels, all variants): Likewise. - (stable_multiway_merge_sentinels, all variants): Likewise. - * include/parallel/multiseq_selection.h - (multiseq_partition): More detailed assertions. + * include/parallel/multiway_merge.h + (multiway_merge_loser_tree): + Leave checks to callers, add precondition instead. + (multiway_merge_loser_tree_unguarded): Likewise. + (multiway_merge_loser_tree_sentinel): Likewise. + (sequential_multiway_merge): Added checks for total length 0. + (parallel_multiway_merge): Skip empty sequences. + (multiway_merge, all variants): + Remove temporary variable, return directly. + (stable_multiway_merge, all variants): Likewise. + (multiway_merge_sentinels, all variants): Likewise. + (stable_multiway_merge_sentinels, all variants): Likewise. + * include/parallel/multiseq_selection.h + (multiseq_partition): More detailed assertions. 2008-04-21 Ralf Wildenhues @@ -239,7 +982,7 @@ * include/std/regex: Same. * include/std/array: Same. * include/std/system_error: Same, add error_code ctor. - + 2008-04-07 Johannes Singler * include/parallel/multiway_merge.h: Moved decisions to @@ -286,7 +1029,7 @@ 2008-03-26 Benjamin Kosnik * testsuite/util/testsuite_abi.h: Remove symbol_objects, - symbol_names typedefs. + symbol_names typedefs. * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check for long double compatiblity symbols, simplify data structures used. @@ -306,13 +1049,13 @@ * doc/doxygen/Intro.3: Correct typo. * doc/xml/api.xml: Add gcc-4.3 links. - * doc/html/api.html: Regenerate. - + * doc/html/api.html: Regenerate. + * include/debug/debug.h: Document namepaces here. * include/parallel/base.h: Same. * include/ext/typelist.h: Same. * include/ext/pb_ds/tag_and_trait.hpp: Same. - + * include/tr1_impl/random: Adjust line break. * include/tr1_impl/unordered_map: Correct and or add markup. * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup. @@ -389,7 +1132,7 @@ 2008-03-20 Johannes Singler - * include/parallel/set_operations.h (set_intersection): Remove. + * include/parallel/set_operations.h (set_intersection): Remove. 2008-03-19 Benjamin Kosnik @@ -414,8 +1157,8 @@ * include/std/date_time: New file. * src/date_time.cc: New file. - * config/abi/pre/gnu.ver: Added symbols in version - GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4 + * config/abi/pre/gnu.ver: Added symbols in version + GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4 that matched new symbols. * include/Makefile.am: Add date_time in std headers. * src/Makefile.am: Add date_time.cc to source files. @@ -431,7 +1174,7 @@ * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise. * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise. * testsuite/31_date_time/system_time/requirements: Likewise. - * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise. + * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise. 2008-03-16 Paolo Carlini @@ -516,7 +1259,7 @@ (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define. (_ZNKSt4hashIeEclEe): New alias. * testsuite/util/testsuite_abi.cc (check_version): Support - GLIBCXX_LDBL_3.4.10. + GLIBCXX_LDBL_3.4.10. 2008-02-25 Jan Beulich @@ -529,7 +1272,7 @@ 2008-02-20 Jason Merrill - * include/bits/c++config: Use 'inline namespace' instead of + * include/bits/c++config: Use 'inline namespace' instead of strong using. 2008-02-18 Pedro Lamarao @@ -547,16 +1290,16 @@ * include/tr1/exp_integral.tcc: Same. * include/tr1/gamma.tcc: Same. * include/tr1/hypergeometric.tcc: Same. - + 2008-02-17 Benjamin Kosnik PR libstdc++/34797 * include/parallel/settings.h (_Settings): Reconstruct Settings class here, uglify, remove anonymous namespace and static - members. Convert to datum. + members. Convert to datum. * include/parallel/types.h: Move Settings:: enumerations here, uglify. * src/parallel_settings.cc: New, definition for _Settings member - functions. + functions. * include/parallel/multiway_merge.h: Same. * include/parallel/for_each.h: Same. * include/parallel/workstealing.h: Same. @@ -581,7 +1324,7 @@ * src/Makefile.am (parallel_sources): Add parallel_settings.cc. * src/Makefile.in: Regenerate. - + * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set. 2008-02-17 Paolo Carlini @@ -600,22 +1343,22 @@ * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols. * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New. * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise. - + 2008-02-16 Benjamin Kosnik * include/parallel/random_number.h: Use TR1's mersenne_twister. (random_number::genrand_bits()): Remove. (random_number::set_seed): Remove. - + 2008-02-15 Benjamin Kosnik - + * include/parallel/types.h: Remove enum parallelism. - + 2008-02-15 Benjamin Kosnik * include/parallel/types.h: Move enum parallelism here. Use tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t, - uint64_t. + uint64_t. * include/parallel/multiseq_selection.h: Adjust for cstdint. * include/parallel/compatibility.h: Same. * include/parallel/tags.h: Just compile-time tags. @@ -854,7 +1597,7 @@ * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise. * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc: Likewise. - * testsuite/tr1/6_containers/array/requirements/contiguous.cc: + * testsuite/tr1/6_containers/array/requirements/contiguous.cc: Likewise. * testsuite/tr1/6_containers/array/requirements/member_swap.cc: Likewise. @@ -1055,7 +1798,7 @@ __glibcxx_requires_sorted_set_pred): Add. * include/bits/stl_algo.h (merge, includes, set_union, set_intersection, set_difference, set_symmetric_difference): - Adjust, use __glibcxx_requires_sorted_set* instead. + Adjust, use __glibcxx_requires_sorted_set* instead. * testsuite/25_algorithms/set_intersection/34730.cc: New. 2008-01-09 Paolo Carlini @@ -1113,7 +1856,7 @@ * include/parallel/algobase.h: Likewise. * include/parallel/find.h: Likewise. * include/parallel/algo.h: Likewise. - * include/parallel/checkers.h: Likewise. + * include/parallel/checkers.h: Likewise. 2008-01-09 Francesco Biscani @@ -1177,7 +1920,7 @@ * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu, parallel_sort_mwms): Likewise. * include/parallel/partial_sum.h (parallel_partial_sum_linear): - Likewise. + Likewise. * testsuite/25_algorithms/sort/34095.cc: New. 2008-01-01 Paolo Carlini