2011-02-10 Jonathan Wakely * doc/xml/manual/debug.xml: Improve data race docs. 2011-02-09 Paolo Carlini PR libstdc++/47668 * include/debug/map.h (map): Remove unnecessary using-declaration. * include/debug/multimap.h (multimap): Likewise. * include/profile/map.h (map): Likewise. * include/profile/multimap.h (multimap): Likewise. 2011-02-09 Jonathan Wakely PR libstdc++/43863 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error): Move to ... * libsupc++/guard_error.cc: ... new file. * libsupc++/Makefile.am: Update. * libsupc++/Makefile.in: Regenerate. 2011-02-09 Jonathan Wakely * include/std/future (packaged_task::operator bool): Rename to... (packaged_task::valid): ...this. * testsuite/30_threads/packaged_task/cons/1.cc: Adjust. * testsuite/30_threads/packaged_task/cons/2.cc: Adjust. * testsuite/30_threads/packaged_task/cons/move.cc: Adjust. * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust. * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust. * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust. * testsuite/30_threads/packaged_task/members/reset.cc: Adjust. * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust. * testsuite/30_threads/packaged_task/members/swap.cc: Adjust. * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove. * testsuite/30_threads/packaged_task/members/valid.cc: Add. 2011-02-09 Paolo Carlini * doc/xml/manual/io.xml: Fix typo. * doc/html/manual/streambufs.html: Likewise. 2011-02-09 Paolo Carlini * config/abi/pre/gnu.ver: Fix. 2011-02-08 Benjamin Kosnik * doc/xml/manual/appendix_porting.xml: Add doc section. * doc/xml/manual/appendix_contributing.xml: Split out doc bits to... * doc/xml/manual/documentation_hacking.xml: ...here. * doc/xml/manual/debug_mode.xml: Adjust. * doc/xml/manual/prerequisites.xml: Adjust. * doc/Makefile.am (xml_sources): Add dot files, documentation_hacking.xml. * doc/Makefile.in: Regenerate. * doc/xml/manual/build_hacking.xml: Use absolute paths for images. * doc/xml/images/confdeps.pdf: Add. * doc/html/*: Regenerate. 2011-02-08 Jonathan Wakely * doc/xml/gnu/fdl-1.2.xml: Remove. * doc/xml/gnu/gpl-2.0.xml: Remove. * doc/Makefile.am: Update. * doc/Makefile.in: Regenerate. 2011-02-07 Paolo Carlini PR libstdc++/47628 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator, iterator)): Add back in C++03 mode. * testsuite/23_containers/map/modifiers/erase/47628.cc: New. * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise. 2011-02-07 Benjamin Kosnik PR libstdc++/47560 try two * config/os/hpux/os_defines.h: Guard for C++. 2011-02-07 Gerald Pfeifer * doc/xml/faq.xml: Adjust link to bug database. Remove old item on broken header files. 2011-02-04 Benjamin Kosnik * include/bits/regex_error.h (__throw_regex_error): Not inline. * src/functexcept.cc: Add definition. * config/abi/pre/gnu.ver: Export. 2011-02-04 Ralf Corsépius * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*. * configure: Regenerate. 2011-02-01 Paolo Carlini PR libstdc++/46914 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_, _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to avoid name conflicts. 2011-02-01 Benjamin Kosnik PR libstdc++/47560 * config/os/hpux/os_defines.h: Remove use of macros on namespace. 2011-02-01 Benjamin Kosnik * scripts/run_doxygen: Allow doxygen 1.7.0 again. * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable. (COMPACT_LATEX): Enable. * include/profile/impl/profiler_container_size.h: Adjust doxygen markup. * include/profile/impl/profiler_hash_func.h: Same. * include/bits/hashtable.h: Same. * include/backward/auto_ptr.h: Same. * include/backward/strstream: Same. * include/backward/backward_warning.h: Same. * include/backward/binders.h: Same. 2011-02-01 Gerald Pfeifer * doc/xml/manual/debug.xml: Use GDB instead of gdb. Adjust link to GDB manual. 2011-01-31 Benjamin Kosnik * include/bits/c++config (_GLIBCXX_DEPRECATED): To _GLIBCXX_USE_DEPRECATED. (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED. * doc/xml/manual/using.xml: Same. * include/std/memory: Same. * include/std/streambuf: Same. * include/bits/shared_ptr.h: Same. * include/bits/unique_ptr.h: Same. * include/bits/shared_ptr_base.h: Same. * include/bits/stl_function.h: Same. * include/tr1/shared_ptr.h: Same. * include/backward/auto_ptr.h: Same. * include/backward/binders.h: Same. 2011-01-31 Paolo Carlini * doc/html/ext/lwg-active.html: Update to Revision D73. * doc/html/ext/lwg-closed.html: Likewise. * doc/html/ext/lwg-defects.html: Likewise. * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865. 2011-01-30 Benjamin Kosnik PR libstdc++/36104 part four * include/bits/c++config (_GLIBCXX_STD): Remove. (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C. (_GLIBCXX_P): Now _GLIBCXX_STD_A. (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL, _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove. (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL, _GLIBCXX_INLINE_PROFILE): Remove. (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove. (_GLIBCXX_END_NAMESPACE): Remove. (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove. (_GLIBCXX_END_NESTED_NAMESPACE): Remove. (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add. (_GLIBCXX_END_NAMESPACE_ALGO): Add. (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add. (_GLIBCXX_END_NAMESPACE_CONTAINER): Add. (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add. (_GLIBCXX_END_NAMESPACE_VERSION): Add. (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL. (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL. (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY. * include/*: Use new macros for namespace scope. * config/*: Same. * src/*: Same. * src/Makefile.am (sources): Remove debug_list.cc, add compatibility-debug_list-2.cc. (parallel_sources): Remove parallel_list.cc, add compatibility-parallel_list-2.cc. (compatibility-parallel_list-2.[o,lo]): New rule. * src/Makefile.in: Regenerate. * src/debug_list.cc: Remove. * src/parallel_list.cc: Remove. * src/compatibility-list-2.cc: New. * src/compatibility-debug_list-2.cc: New. * src/compatibility-parallel_list-2.cc: New. * doc/doxygen/user.cfg.in: Adjust macros. * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros. * testsuite/20_util/declval/requirements/1_neg.cc: Same. * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same. * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same. * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same. * testsuite/20_util/forward/c_neg.cc: Same. * testsuite/20_util/forward/f_neg.cc: Same. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same. * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same. * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same. * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same. * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same. * testsuite/23_containers/deque/requirements/dr438/ constructor_1_neg.cc: Same. * testsuite/23_containers/deque/requirements/dr438/ constructor_2_neg.cc: Same. * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same. * testsuite/23_containers/forward_list/capacity/1.cc: Same. * testsuite/23_containers/forward_list/requirements/dr438/ assign_neg.cc: Same. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_1_neg.cc: Same. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_2_neg.cc: Same. * testsuite/23_containers/forward_list/requirements/dr438/ insert_neg.cc: Same. * testsuite/23_containers/list/capacity/29134.cc: Same. * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same. * testsuite/23_containers/list/requirements/dr438/ constructor_1_neg.cc: Same. * testsuite/23_containers/list/requirements/dr438/ constructor_2_neg.cc: Same. * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same. * testsuite/23_containers/vector/bool/capacity/29134.cc: Same. * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same. * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Same. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Same. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same. * testsuite/25_algorithms/sort/35588.cc: Same. * testsuite/27_io/ios_base/cons/assign_neg.cc: Same. * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. * testsuite/ext/profile/mutex_extensions_neg.cc: Same. * testsuite/ext/profile/profiler_algos.cc: Same. * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same. * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same. * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same. * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same. * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same. 2011-01-30 Gerald Pfeifer * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification. Improve description of one such reference. 2011-01-30 Gerald Pfeifer * doc/xml/manual/codecvt.xml: Fix link to The Austin Common Standards Revision Group. * doc/xml/manual/locale.xml: Ditto. * doc/xml/manual/messages.xml: Ditto. * doc/xml/manual/using_exceptions.xml: Ditto. 2011-01-28 Paolo Carlini * include/bits/atomic_base.h: Do not include . (kill_dependency): Uglify ret. 2011-01-26 Johannes Singler * include/parallel/numeric (inner_product, partial_sum): Qualify subsequent call with __gnu_parallel instead of _GLIBCXX_STD_P to reenable parallel execution without ambiguity. * include/parallel/algobase.h (equal): Likewise. * include/parallel/algo.h (find_first_of, search_n, merge, nth_element, partial_sort, max_element, min_element): Likewise. * testsuite/25_algorithms/headers/algorithm/ parallel_algorithm_mixed1.cc (main): Add respective test cases. * testsuite/25_algorithms/headers/algorithm/ parallel_algorithm_mixed2.cc (main): Likewise. * testsuite/26_numerics/headers/numeric/ parallel_numeric_mixed1.cc (main): Likewise. * testsuite/26_numerics/headers/numeric/ parallel_numeric_mixed2.cc (main): Likewise. 2011-01-24 Graham Reed PR libstdc++/47387 * config/os/aix/ctype_inline.h (ctype::is): Use _M_table if provided. 2011-01-24 Johannes Singler PR libstdc++/47433 * include/parallel/losertree.h (_LoserTree<>::__delete_min_insert): Do not qualify swap with std:: for value type, but include a using directive instead. (_LoserTreeUnguarded<>::__delete_min_insert): Likewise. * include/parallel/balanced_quicksort.h (__qsb_divide): Use std::iter_swap instead of std::swap. (__qsb_local_sort_with_helping): Likewise. * include/parallel/partition.h (__parallel_partition): Likewise. (__parallel_nth_element): Likewise. 2011-01-24 Johannes Singler PR libstdc++/47437 * include/parallel/multiway_merge.h (_UnguardedIterator): Remove useless "mutable" from reference declaration. 2011-01-21 Benjamin Kosnik * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. * include/debug/safe_sequence.h: Same. * include/debug/safe_iterator.h: Same. * include/std/forward_list: Same. * include/std/deque: Same. * include/std/list: Same. * include/std/random: Same. * include/std/streambuf: Same. * include/std/fstream: Same. * include/std/istream: Same. * include/std/string: Same. * include/std/ostream: Same. * include/std/sstream: Same. * include/ext/vstring.h: Same. * include/bits/basic_ios.h: Same. * include/bits/locale_classes.h: Same. * include/bits/locale_facets.h: Same. * include/bits/valarray_array.h: Same. * include/bits/locale_facets_nonio.h: Same. * include/tr1/random: Same. 2011-01-20 Jonathan Wakely * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts. 2011-01-20 Benjamin Kosnik PR libstdc++/36104 part three * src/hashtable_c++0x.cc: Adjust namespace macros. * testsuite/util/testsuite_rvalref.h: Don't forward declare hash. * config/abi/pre/gnu-versioned-namespace.ver: Update. 2011-01-20 Benjamin Kosnik * include/ext/pb_ds/detail/resize_policy/ hash_load_check_resize_trigger_imp.hpp: Adjust assert condition. * include/ext/pb_ds/detail/pat_trie_/ constructors_destructor_fn_imps.hpp: Same. * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format. * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same. * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor. * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust iterations downward when testing in debug mode. * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/hash_no_data_map_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/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE, reduce in debug mode. 2011-01-19 Benjamin Kosnik PR libstdc++/36104 part two * include/bits/hashtable.h: Revert to non-nested macro usage. * include/bits/hashtable_policy.h: Same. 2011-01-19 Graham Reed PR libstdc++/47354 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex. 2011-01-18 Benjamin Kosnik * doc/xml/images/confdeps.png: Regenerate. * include/std/chrono (duration): Mark copy constructor constexpr. * testsuite/20_util/duration/cons/constexpr.cc: Add test. 2011-01-18 Paolo Carlini * include/bits/unique_ptr.h (default_delete<>::default_delete()): Declare defaulted per DR 1517. * testsuite/util/testsuite_common_types.h (constexpr_defaulted_default_constructible): Add. * testsuite/20_util/default_delete/cons/constexpr.cc: Use it. 2011-01-17 Paolo Carlini * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap): Implement DR 1198. * include/bits/stl_stack.h (stack<>::swap): Likewise. 2011-01-16 Paolo Carlini PR libstdc++/47323 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc: Only test wregex when _GLIBCXX_USE_WCHAR_T is defined. 2011-01-16 Paolo Carlini PR libstdc++/47320 * testsuite/18_support/numeric_limits/lowest.cc: Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined. 2011-01-16 Paolo Carlini PR libstdc++/47321 * testsuite/21_strings/basic_string/requirements/typedefs.cc: Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined. 2011-01-16 François Dumont * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move to this. Use _neg suffix. * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from this. * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc: Same. * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same. * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc: Same. * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same. * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc: Same. * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same. * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc: Same. * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same. * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc: Same. * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same. * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc: Same. * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same. * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc: Same. * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same. * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc: Same. * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same. 2011-01-14 Benjamin Kosnik PR libstdc++/36104 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New. * include/Makefile.in: Regenerate. * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New. (install-stdHEADERS, install-bitsHEADERS): New. * libsupc++/Makefile.in: Regenerate. * include/bits/c++config: Update for inline namespaces. * libsupc++/cxxabi-forced.h: To... * libsupc++/cxxabi_forced.h: ...this. * libsupc++/hash_bytes.h: Separate file. * libsupc++/typeinfo: Use it. * libsupc++/exception: Adjust for bits subdirectory. * libsupc++/eh_aux_runtime.cc: Same. * libsupc++/eh_ptr.cc: Same. * libsupc++/new_op.cc: Same. * libsupc++/exception_defines.h: Same. * libsupc++/nested_exception.h: Same. * libsupc++/eh_terminate.cc: Same. * libsupc++/vec.cc: Same. * libsupc++/vterminate.cc: Same. * libsupc++/exception_ptr.h: Same. * libsupc++/eh_personality.cc: Same. * libsupc++/eh_call.cc: Same. * libsupc++/new_opnt.cc: Same. * libsupc++/hash_bytes.cc: Same. * config/cpu/arm/cxxabi_tweaks.h: Same. * config/cpu/generic/cxxabi_tweaks.h: Same. * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines. * include/std/bitset: Same. * include/ext/vstring.tcc: Same. * include/bits/hashtable.h: Same. * include/bits/functional_hash.h: Same. * include/bits/hashtable_policy.h: Same. * include/bits/basic_string.h: Same. * include/bits/istream.tcc: Same. * include/bits/ostream.tcc: Same. * include/bits/algorithmfwd.h: Same. * include/bits/basic_string.tcc: Same. * include/bits/ostream_insert.h: Same. * include/bits/fstream.tcc: Same. * include/bits/functexcept.h: Same. * doc/doxygen/user.cfg.in: Adjust names. * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers. 2011-01-14 Paolo Carlini * testsuite/25_algorithms/is_permutation/check_type.cc: Minor tweaks. * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes. 2011-01-13 Paolo Carlini * testsuite/25_algorithms/is_permutation/check_type.cc: New. * testsuite/25_algorithms/is_permutation/requirements/ explicit_instantiation/2.cc: Likewise. * testsuite/25_algorithms/is_permutation/requirements/ explicit_instantiation/pod.cc: Likewise. * testsuite/25_algorithms/is_permutation/1.cc: Likewise. 2011-01-13 John Lakos Pablo Halpern Paolo Carlini * include/bits/stl_algo.h (is_permutation): Add, per N3068. * include/bits/algorithmfwd.h: Add. 2011-01-13 Jonathan Wakely PR libstdc++/47045 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version. 2011-01-11 Paolo Carlini * aclocal.m4: Regenerate. 2011-01-06 Paolo Carlini PR libstdc++/47185 * src/placeholders.cc: New. * src/Makefile.am: Adjust. * src/Makefile.in: Regenerate. * include/std/functional (placeholders::_1, _2, ..., _29): Declare extern. * config/abi/pre/gnu.ver: Export. 2011-01-05 François Dumont * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New. * include/src/debug.cc: Use latter * include/debug/forward_list (forward_list<>::_M_swap): Fix to correctly handle before_begin iterators. * testsuite/23_containers/forward_list/debug/swap.cc: Remove now useless _GLIBCXX_DEBUG checks. 2011-01-04 Kai Tietz PR libstdc++/47145 * configure.ac (AC_CHECK_FILE): Replaced by test -f. * configure: Regenerated. 2011-01-03 Paolo Carlini PR libstdc++/46922 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols. Copyright (C) 2011 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.