OSDN Git Service

Revert:
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 311d1e1..873ac16 100644 (file)
@@ -1,3 +1,337 @@
+2007-09-05  Roger Sayle  <roger@eyesopen.com>
+
+       * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add EBADMSG for darwin.
+       * configure: Regenerate.
+       * include/std/system_error: Guard.
+       * testsuite/19_diagnostics/headers/system_error/
+       types_std_c++0x.cc: Same.
+       * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
+       line numbers.
+
+2007-09-03  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/33293
+       * include/bits/stl_numeric.h (accumulate, inner_product):
+       Add inline function-specifier.
+
+2007-08-31  Douglas Gregor  <doug.gregor@gmail.com>
+
+       * testsuite/abi/demangle/cxx0x/rref.cc: New.
+
+2007-08-29  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENODATA, ENOSR,
+       ENOSTR, ETIME for freebsd.      
+       * configure: Regenerate.
+       * include/std/system_error: Guard.      
+       * testsuite/19_diagnostics/headers/system_error/
+       types_std_c++0x.cc: Same.
+       * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
+       line numbers.
+
+2007-08-28  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/33128
+       * include/tr1_impl/random (uniform_int<>::_M_call): Deal with
+       __urng() returning negative values.
+       * testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc:
+       New.
+
+2007-08-24  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * acinclude.m4: Fix duplicate variable names.
+       * configure: Regenerate.
+
+2007-08-24  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENOLINK, EPROTO
+       for netbsd.
+       * configure: Regenerate.
+       * include/std/system_error: Guard.      
+       * testsuite/19_diagnostics/headers/system_error/
+       types_std_c++0x.cc: Same.
+       * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
+       line numbers.
+
+2007-08-23  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/std/system_error: New file.
+       * src/system_error.cc: New file.
+       * src/Makefile.am (sources): Add.
+       * src/Makefile.in: Regenerate.  
+       * include/Makefile.am (std_headers): Add system_error.
+       * include/Makefile.in: Regenerate.
+       * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): New.
+       * configure.ac: Call it.
+       * config.h.in: Regenerate.
+       * include/bits/functional_hash.h: Add hash<error_code>.
+       * include/std/ostream: Add inserters for error_code.
+       
+       * docs/doxygen/user.cfg.in: Add system_error.
+
+       * config/abi/pre/gnu.ver(GLIBCXX_3.4.10): Add new symbols.
+
+       * testsuite/19_diagnostics/error_code: New.
+       * testsuite/19_diagnostics/error_code/cons: Same.
+       * testsuite/19_diagnostics/error_code/cons/1.cc: Same.
+       * testsuite/19_diagnostics/error_code/operators: Same.
+       * testsuite/19_diagnostics/error_code/operators/bool.cc: Same.
+       * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Same.
+       * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
+       * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
+       * testsuite/19_diagnostics/error_category: Same.
+       * testsuite/19_diagnostics/error_category/cons: 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: Same.
+       * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
+       * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
+       * testsuite/19_diagnostics/headers/system_error: Same.
+       * testsuite/19_diagnostics/headers/system_error/
+       types_std_c++0x.cc: Same.
+       * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Same.
+       * testsuite/19_diagnostics/system_error: 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.
+       * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
+       error_code.cc: Same.
+       * testsuite/27_io/basic_ostream/inserters_other/char/
+       error_code.cc: Same.
+       * testsuite/tr1/6_containers/hash/operators: New.
+       * testsuite/tr1/6_containers/hash/operators/size_t.cc: Same.
+       
+       * testsuite/23_containers/hash: Move...
+       * testsuite/20_util/hash: ... here.
+       * testsuite/20_util/hash/operators: New.
+       * testsuite/20_util/hash/operators/size_t.cc: New.
+
+       * testsuite/20_util/function_objects/bad_function_call: Move...
+       * testsuite/20_util/bad_function_call: ...here.
+       
+2007-08-21  Benjamin Kosnik  <bkoz@montsouris.artheist.org>
+
+       * include/Makefile.am (install-data-local): Remove pch-install rules.
+       (host_headers): Add stdc++.h, stdtr1c++.h, extc++.h.
+       * include/Makefile.in: Regenerate.
+       * config.h.in: Same.
+
+       * scripts/check_compile: Remove space between outputs.  
+       * include/ext/throw_allocator.h: Correct doxygen markup.        
+       * include/bits/char_traits.h: Correct spacing.
+       * include/bits/stl_function.h: Same, for 80 column.
+       * include/std/valarray: Same.
+       * testsuite/util/testsuite_iterators.h: Same.   
+       * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Format.
+       
+2007-08-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       PR testsuite/31884
+       * testsuite/ext/pb_ds/example/priority_queue_dijkstra.cc (main): Do
+       not access deleted nodes.
+
+       * testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc,
+       testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc,
+       testsuite/27_io/basic_filebuf/open/char/4.cc,
+       testsuite/27_io/objects/char/9.cc: Use dg-require-fileio.
+       * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc,
+       testsuite/ext/pb_ds/regression/hash_data_map_rand.cc,
+       testsuite/ext/pb_ds/regression/trie_data_map_rand.cc,
+       testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc,
+       testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc,
+       testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc,
+       testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc,
+       testsuite/ext/pb_ds/regression/priority_queue_rand.cc,
+       testsuite/ext/pb_ds/regression/tree_data_map_rand.cc,
+       testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc,
+       testsuite/ext/throw_allocator/deallocate_global.cc,
+       testsuite/ext/throw_allocator/check_delete.cc,
+       testsuite/ext/throw_allocator/check_allocate_max_size.cc,
+       testsuite/ext/throw_allocator/check_deallocate_null.cc,
+       testsuite/ext/throw_allocator/check_new.cc,
+       testsuite/ext/throw_allocator/deallocate_local.cc,
+       testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/
+       cons/gen1.cc,
+       testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/cons/
+       gen1.cc,
+       testsuite/tr1/5_numerical_facilities/random/linear_congruential/cons/
+       gen1.cc,
+       testsuite/tr1/5_numerical_facilities/random/mersenne_twister/cons/
+       gen1.cc,
+       testsuite/23_containers/list/modifiers/insert/25288.cc: Use
+       dg-require-time.
+
+2007-08-17  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
+       dg-error lines.
+       * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Ditto.
+
+2007-08-17  Chris Fairles  <chris.fairles@gmail.com>
+
+       PR libstdc++/33098
+       * include/std/type_traits (__is_convertible_helper):
+       Use add_lvalue_reference.
+
+2007-08-17  Johannes Willkomm  <willkomm@sc.rwth-aachen.de>
+
+       PR libstdc++/33084
+       * include/std/valarray (operator _Op(const _Tp&,
+       const valarray<>&)): Fix typo.
+       * testsuite/26_numerics/numeric_arrays/valarray/33084.cc: New.
+
+2007-08-07  Jim Blandy  <jimb@codesourcery.com>
+
+       * src/Makefile.am (libstdc++-symbol.ver): Make
+       sure the build tree copy of libstdc++-symbol.ver is writeable.
+       * src/Makefile.in: Regenerated.
+
+2007-08-02  Paolo Carlini  <pcarlini@suse.de>
+
+       DR 660, [Ready] in Toronto.
+       * include/bits/stl_function.h (bit_and, bit_or, bit_xor): Add.
+       * testsuite/20_util/function_objects/dr660.cc: New.
+       * docs/html/ext/howto.html: Add an entry for DR 660, update.
+
+       * docs/html/ext/lwg-closed.html, docs/html/ext/lwg-active.html,
+       docs/html/ext/lwg-defects.html: Import Revision 49.
+
+2007-07-30  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/32908
+       * include/bits/stl_algobase.h (struct __lc_rai): New.
+       (lexicographical_compare(_II1, _II1, _II2, _II2),
+       lexicographical_compare(_II1, _II1, _II2, _II2, _Compare)): Use it.
+       * testsuite/performance/25_algorithms/lexicographical_compare.cc: New.
+
+2007-07-27  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/32907
+       * include/bits/basic_string.h (operator==(const basic_string<_CharT>&,
+       const basic_string<_CharT>&)): Add.
+       (operator!=): Forward to operator==.
+       * include/ext/vstring.h(operator==(const __versa_string<_CharT,
+       std::char_traits<_CharT>, std::allocator<_CharT>, _Base>&,
+       const __versa_string<_CharT, std::char_traits<_CharT>,
+       std::allocator<_CharT>, _Base>&)): Add.
+       (operator!=): Forward to operator==.
+
+       * include/ext/sso_string_base.h (_M_compare): Remove.
+
+2007-07-25  Stephen M. Webb  <stephenw@xandros.com>
+
+       Fixed abi_check for missing symbol size changes.
+       * testsuite/util/testsuite_abi.cc: Changed local variable name to
+       prevent member variable hiding.
+
+2007-07-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR libstdc++/31836
+       * config/locale/generic/c_locale.cc (__convert_to_v): Don't use
+       strtold if _GLIBCXX_HAVE_BROKEN_STRTOLD is defined.
+       * config/os/hpux/os_defines.h (_GLIBCXX_HAVE_BROKEN_STRTOLD): Define
+       if __hppa__ is defined.
+
+2007-07-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       PR bootstrap/3456
+       * testsuite/22_locale/locale/cons/12658_thread-1.cc: Enable on
+       mips-sgi-irix6*.
+       * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
+       * testsuite/thread/18185.cc: Likewise.
+       * testsuite/thread/pthread1.cc: Likewise.
+       * testsuite/thread/pthread2.cc: Likewise.
+       * testsuite/thread/pthread3.cc: Likewise.
+       * testsuite/thread/pthread4.cc: Likewise.
+       * testsuite/thread/pthread5.cc: Likewise.
+       * testsuite/thread/pthread6.cc: Likewise.
+       * testsuite/thread/pthread7-rope.cc: Likewise.
+       * testsuite/tr1/2_general_utilities/shared_ptr/thread/
+       default_weaktoshared.cc: Likewise.
+       * testsuite/tr1/2_general_utilities/shared_ptr/thread/
+       mutex_weaktoshared.cc: Likewise.
+
+2007-07-16  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * config/os/mingw32/ctype_base.h: Use the generic libstdc++ masks
+       rather than MSVCRT defines.
+       * config/os/mingw32/ctype_noninline.h (classic_table): Construct
+       and return a static classic table based on generic libstdc++ masks.
+
+2007-07-12  Douglas Gregor  <doug.gregor@gmail.com>
+
+       * testsuite/tr1/3_function_objects/bind/all_bound.cc: Disambiguate
+       uses of TR1/C++0x facilities.
+       * testsuite/tr1/3_function_objects/bind/nested.cc: Ditto.
+       * testsuite/tr1/3_function_objects/bind/placeholders.cc: Ditto.
+       * testsuite/tr1/6_containers/unordered_multimap/requirements/
+       explicit_instantiation.cc: Ditto. 
+       * testsuite/tr1/6_containers/unordered_multimap/swap/1.cc: Ditto.
+       * testsuite/tr1/6_containers/unordered_multimap/swap/2.cc: Ditto.
+       * testsuite/tr1/6_containers/unordered_set/requirements/
+       explicit_instantiation.cc: Ditto.
+       * testsuite/tr1/6_containers/unordered_set/swap/1.cc: Ditto.
+       * testsuite/tr1/6_containers/unordered_set/swap/2.cc: Ditto.
+       * testsuite/tr1/6_containers/utility/pair.cc: Ditto.
+       * testsuite/tr1/6_containers/unordered_map/requirements/
+       explicit_instantiation.cc: Ditto. 
+       * testsuite/tr1/6_containers/unordered_map/24064.cc: Ditto.
+       * testsuite/tr1/6_containers/unordered_map/swap/1.cc: Ditto.
+       * testsuite/tr1/6_containers/unordered_map/swap/2.cc: Ditto.
+       * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Ditto.
+       * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Ditto.
+       * testsuite/tr1/6_containers/tuple/cons/assignment.cc: Ditto.
+       * testsuite/tr1/6_containers/tuple/tuple_element.cc: Ditto.
+       * testsuite/tr1/6_containers/tuple/tuple_size.cc: Ditto.
+       * testsuite/tr1/6_containers/tuple/comparison_operators/
+       comparisons.cc: Ditto. 
+       * testsuite/tr1/6_containers/tuple/element_access/get.cc: Ditto.
+       * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: Ditto.
+       * testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: Ditto.
+       * testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc:
+       Ditto.
+       * testsuite/tr1/6_containers/unordered_multiset/requirements/
+       explicit_instantiation.cc: Ditto.
+       * testsuite/tr1/6_containers/unordered_multiset/swap/1.cc: Ditto.
+       * testsuite/tr1/6_containers/unordered_multiset/swap/2.cc: Ditto.
+
+2007-07-10  Bob Wilson  <bob.wilson@acm.org>
+       
+       * configure.ac: Check if $atomicity_dir is cpu/generic/atomicity_mutex
+       instead of the non-existent cpu/generic/atomic_mutex.
+       * configure: Regenerate.
+       
+2007-07-10  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/std/utility (identity, move, forward): Add.
+       * testsuite/20_util/move/requirements/explicit_instantiation.cc: New.
+       * testsuite/20_util/move/1.cc: New.
+       * testsuite/20_util/identity/value.cc: New.
+       * testsuite/20_util/identity/requirements/typedefs.cc: New.
+       * testsuite/20_util/identity/requirements/explicit_instantiation.cc:
+       New.
+       * testsuite/20_util/forward/requirements/explicit_instantiation.cc:
+       New.
+       * testsuite/20_util/forward/1.cc: New.
+       * testsuite/20_util/forward/1_neg.cc: New.
+       
+2007-07-09  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/27_io/ios_base/failure/what-1.cc: Include <stdexcept>.
+
+2007-07-09  Jim Xochellis  <jimxoch@yahoo.gr>
+           Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/stl_algo.h (search(_ForwardIterator1,
+       _ForwardIterator1, _ForwardIterator2, _ForwardIterator2)): Tidy.
+       (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2,
+       _ForwardIterator2, _BinaryPredicate)): Likewise.
+
 2007-07-06  Hans-Peter Nilsson  <hp@axis.com>
 
        * testsuite/lib/libstdc++.exp (v3-build_support): Use env(AR)