aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2007-09-03re PR libstdc++/33293 (inlining std::inner_product())Paolo Carlini1-0/+6
2007-09-03 Paolo Carlini <pcarlini@suse.de> PR libstdc++/33293 * include/bits/stl_numeric.h (accumulate, inner_product): Add inline function-specifier. From-SVN: r128053
2007-08-31mangle.c (write_type): Change mangling of rvalue reference from `RR' to `O'.Doug Gregor1-0/+4
2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * mangle.c (write_type): Change mangling of rvalue reference from `RR' to `O'. 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_RVALUE_REFERENCE. 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_RVALUE_REFERENCE. (d_make_comp): Ditto. (cplus_demangle_type): Ditto. (d_print_comp): Ditto. (d_print_mod): Ditto. (d_print_function_type): Ditto. 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * testsuite/abi/demangle/cxx0x/rref.cc: New. From-SVN: r127999
2007-08-29acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENODATA, ENOSR, ENOSTR, ETIME ↵Benjamin Kosnik1-0/+11
for freebsd. 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. From-SVN: r127912
2007-08-28re PR libstdc++/33128 (std::tr1::uniform_int returns value out of range)Paolo Carlini1-0/+8
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. From-SVN: r127849
2007-08-24acinclude.m4: Fix duplicate variable names.Benjamin Kosnik1-0/+5
2007-08-24 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4: Fix duplicate variable names. * configure: Regenerate. From-SVN: r127784
2007-08-24acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENOLINK, EPROTO for netbsd.Benjamin Kosnik1-0/+11
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. From-SVN: r127772
2007-08-23system_error: New file.Benjamin Kosnik1-0/+61
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. From-SVN: r127744
2007-08-22Makefile.am (install-data-local): Remove pch-install rules.Benjamin Kosnik1-4/+23
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. From-SVN: r127685
2007-08-17re PR testsuite/31884 (priority_queue_dijkstra.cc operates on deallocated ↵Daniel Jacobowitz1-0/+33
memory) 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. From-SVN: r127590
2007-08-17typedefs_neg.cc: Adjust dg-error lines.Paolo Carlini1-0/+6
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. From-SVN: r127589
2007-08-17re PR libstdc++/33098 ([c++0x] __is_convertible_helper in type_traits uses ↵Chris Fairles1-0/+6
deprecated add_reference) 2007-08-17 Chris Fairles <chris.fairles@gmail.com> PR libstdc++/33098 * include/std/type_traits (__is_convertible_helper): Use add_lvalue_reference. From-SVN: r127588
2007-08-17re PR libstdc++/33084 (Small typo in valarray header)Johannes Willkomm1-0/+7
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. From-SVN: r127579
2007-08-07Makefile.am (libstdc++-symbol.ver): Make sure the build tree copy of ↵Jim Blandy1-0/+6
libstdc++-symbol.ver is writeable. * src/Makefile.am (libstdc++-symbol.ver): Make sure the build tree copy of libstdc++-symbol.ver is writeable. * src/Makefile.in: Regenerated. From-SVN: r127279
2007-08-02DR 660, [Ready] in Toronto.Paolo Carlini1-0/+10
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. From-SVN: r127166
2007-07-30re PR libstdc++/32908 (Miss lexicographical_compare random access override)Paolo Carlini1-0/+8
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. From-SVN: r127073
2007-07-28Fix typo in log.John David Anglin1-1/+1
From-SVN: r127022
2007-07-27re PR libstdc++/32907 (Inefficient operator== in std::string)Paolo Carlini1-5/+21
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. From-SVN: r126988
2007-07-26Fixed abi_check for missing symbol size changes.Stephen M. Webb1-0/+6
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. From-SVN: r126956
2007-07-25re PR libstdc++/31836 (FAIL: ↵John David Anglin1-0/+8
27_io/basic_istream/extractors_arithmetic/char/12.cc execution test) 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. From-SVN: r126914
2007-07-16re PR bootstrap/3456 (bootstrapping gcc-3.0 with threadmodel=posix fails on ↵Rainer Orth1-0/+17
IRIX64 6.5) gcc: PR bootstrap/3456 * config.gcc (mips-sgi-irix[56]*): Enable pthread support. * doc/install.texi (mips-sgi-irix6): pthread support works now. libstdc++-v3: 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. From-SVN: r126685
2007-07-16ctype_base.h: Use the generic libstdc++ masks rather than MSVCRT defines.Danny Smith1-0/+7
* 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. From-SVN: r126674
2007-07-122007-07-12 Paolo Carlini <pcarlini@suse.de>Paolo Carlini1-12/+13
* Tweak ovelong lines in last ChangeLog entry. From-SVN: r126592
2007-07-12all_bound.cc: Disambiguate uses of TR1/C++0x facilities.Douglas Gregor1-0/+36
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. From-SVN: r126590
2007-07-10configure.ac: Check if $atomicity_dir is cpu/generic/atomicity_mutex instead ↵Bob Wilson1-0/+6
of the... * configure.ac: Check if $atomicity_dir is cpu/generic/atomicity_mutex instead of the non-existent cpu/generic/atomic_mutex. * configure: Regenerate. From-SVN: r126528
2007-07-10utility (identity, [...]): Add.Paolo Carlini1-0/+14
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. From-SVN: r126522
2007-07-09what-1.cc: Include <stdexcept>.Paolo Carlini1-0/+4
2007-07-09 Paolo Carlini <pcarlini@suse.de> * testsuite/27_io/ios_base/failure/what-1.cc: Include <stdexcept>. From-SVN: r126490
2007-07-09stl_algo.h (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2, ↵Jim Xochellis1-0/+8
_ForwardIterator2)): Tidy. 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. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r126479
2007-07-06libstdc++.exp (v3-build_support): Use env(AR) and env(RANLIB), not ↵Hans-Peter Nilsson1-0/+5
env(AR_FOR_TARGET) and env(RANLIB_FOR_TARGET). * testsuite/lib/libstdc++.exp (v3-build_support): Use env(AR) and env(RANLIB), not env(AR_FOR_TARGET) and env(RANLIB_FOR_TARGET). From-SVN: r126392
2007-07-05re PR libstdc++/31957 (Build of compiler fails with 'error: #endif without #if')Joerg Richter1-0/+6
2007-07-05 Joerg Richter <joerg.richter@pdv-fs.de> PR libstdc++/31957 * include/Makefile.am: Work around an AIX sed oddity. * include/Makefile.in: Regenerate. From-SVN: r126362
2007-07-05stl_algo.h (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2, ↵Jim Xochellis1-0/+9
_ForwardIterator2)): Simplify general case loop to a for(;;). 2007-07-04 Jim Xochellis <jimxoch@yahoo.gr> * include/bits/stl_algo.h (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2, _ForwardIterator2)): Simplify general case loop to a for(;;). (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2, _ForwardIterator2, _BinaryPredicate)): Likewise; remove redundant inner loop. From-SVN: r126347
2007-07-04re PR libstdc++/31518 (_GLIBCXX_DEBUG error message formatter line width not ↵Paolo Carlini1-0/+14
configurable) 2007-07-03 Paolo Carlini <pcarlini@suse.de> PR libstdc++/31518 * include/debug/formatter.h (_Error_formatter::_M_get_max_length): New. (_Error_formatter::_Error_formatter): Use it. * src/debug.cc: Define. (_Error_formatter::_M_error): Tweak. * configure.ac: Adjust version to 6:10:0. * config/abi/pre/gnu.ver: Export _Error_formatter::_M_get_max_length at GLIBCXX_3.4.10. * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.10. * docs/html/debug.html: Document. * configure: Regenerate. From-SVN: r126287
2007-07-02typedefs_neg.cc: Tweak line numbers.Douglas Gregor1-0/+12
2007-07-02 Douglas Gregor <doug.gregor@gmail.com> * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Tweak line numbers. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Ditto. * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Don't try to create an unsigned wchar_t. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Don't try to create an unsigned wchar_t. * testsuite/util/testsuite_hooks.h: Remove a stray semicolon. From-SVN: r126203
2007-07-02type_traits (__make_unsigned): Remove invalid wchar_t specialization.Douglas Gregor1-0/+25
2007-07-01 Douglas Gregor <doug.gregor@gmail.com> * include/std/type_traits (__make_unsigned): Remove invalid wchar_t specialization. (__make_signed): Remove invalid wchar_t specialization. From-SVN: r126184
2007-06-28re PR libstdc++/32509 (unable to explicitely configure with a given locale ↵Paolo Carlini1-0/+9
model) 2007-06-28 Paolo Carlini <pcarlini@suse.de> PR libstdc++/32509 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Carry out the checks involving the de_DE locale only if an auto locale config is used for a target suitable for the gnu locale model. * docs/html/install.html: Update. * configure: Regenerated. From-SVN: r126096
2007-06-26testsuite_api.h: New.Benjamin Kosnik1-0/+30
2007-06-26 Benjamin Kosnik <bkoz@redhat.com> * testsuite/util/testsuite_api.h: New. * testsuite/27_io/ios_base/failure: Add. * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: New. * testsuite/27_io/ios_base/failure/what-1.cc: Same. * testsuite/27_io/ios_base/failure/what-2.cc: Same. * testsuite/27_io/ios_base/failure/what-big.cc: Same. * testsuite/27_io/ios_base/failure/what-3.cc: Same. * testsuite/19_diagnostics/logic_error/ cons_virtual_derivation.cc: Same. * testsuite/19_diagnostics/runtime_error/ cons_virtual_derivation.cc: Same. * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Same. * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Same. * testsuite/18_support/bad_exception/cons_virtual_derivation.cc: Same. * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc: Same. * testsuite/ext/concurrence_lock_error: New. * testsuite/ext/concurrence_lock_error/ cons_virtual_derivation.cc: Same. * testsuite/ext/forced_exception_error: New. * testsuite/ext/forced_exception_error/ cons_virtual_derivation.cc: Same. * testsuite/ext/concurrence_unlock_error: New. * testsuite/ext/concurrence_unlock_error/ cons_virtual_derivation.cc: Same. * testsuite/20_util/function_objects/bad_function_call: New. * testsuite/20_util/function_objects/bad_function_call/ cons_virtual_derivation.cc: Same. From-SVN: r126032
2007-06-26throw_allocator.h: Fixes for -fno-exceptions.Benjamin Kosnik1-0/+12
2007-06-26 Benjamin Kosnik <bkoz@redhat.com> * include/ext/throw_allocator.h: Fixes for -fno-exceptions. * testsuite/util/testsuite_shared.cc: Same. * testsuite/util/io/illegal_input_error.hpp: Same. * testsuite/util/io/verified_cmd_line_input.cc: Same. * libsupc++/typeinfo (type_info): Correct comment formatting, clarify member access and public interface. * libsupc++/exception: Less compressed comments. * libsupc++/new: Same. From-SVN: r126016
2007-06-18stl_list.h: Rename guard macro consistently with file name.Paolo Carlini1-0/+23
2007-06-18 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_list.h: Rename guard macro consistently with file name. * include/bits/stl_algobase.h: Likewise. * include/bits/stl_map.h: Likewise. * include/bits/stl_queue.h: Likewise. * include/bits/stl_set.h: Likewise. * include/bits/stl_stack.h: Likewise. * include/bits/stl_iterator_base_types.h: Likewise. * include/bits/stl_multimap.h: Likewise. * include/bits/stl_pair.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/bits/stl_deque.h: Likewise. * include/bits/stl_multiset.h: Likewise. * include/bits/stl_iterator_base_funcs.h: Likewise. * include/bits/stl_algo.h: Likewise. * include/bits/stl_iterator.h: Likewise. * include/bits/stl_tempbuf.h: Likewise. * include/bits/stl_bvector.h: Likewise. * include/bits/stl_function.h: Likewise. * include/bits/stl_tree.h: Likewise. From-SVN: r125815
2007-06-17atomicity.h: Use __mcfisaa__...Nathan Sidwell1-0/+5
* config/cpu/m68k/atomicity.h: Use __mcfisaa__, __mcfisaaplus__, __mcfisab__ & __mcfisac__ instead of obsolete cpu #defines. From-SVN: r125775
2007-06-13eh_arm.cc (__cxa_type_match): Handle foreign exceptions.Richard Earnshaw1-0/+7
* libsupc++/eh_arm.cc (__cxa_type_match): Handle foreign exceptions. * libsubpc++/eh_personality.cc: Don't try to set up foreign or forced unwind types here when using the ARM EABI unwinder. From-SVN: r125683
2007-06-13cmath: Tweak includes.Paolo Carlini1-0/+10
2007-06-13 Paolo Carlini <pcarlini@suse.de> * include/c_global/cmath: Tweak includes. * include/std/memory: Likewise. * include/std/complex: Likewise. * include/tr1/memory: Likewise. * include/tr1/complex: Likewise. * include/tr1/cmath: Likewise; do not wrap special functions in #ifndef __GXX_EXPERIMENTAL_CXX0X__. From-SVN: r125671
2007-06-10testsuite_performance.h: Add cstring include for memset.Benjamin Kosnik1-0/+5
2007-06-10 Benjamin Kosnik <bkoz@redhat.com> * testsuite/util/testsuite_performance.h: Add cstring include for memset. From-SVN: r125600
2007-06-09install.html: Adjust consistently with libstdc++/31717.Paolo Carlini1-0/+4
2007-06-08 Paolo Carlini <pcarlini@suse.de> * docs/html/install.html: Adjust consistently with libstdc++/31717. From-SVN: r125587
2007-06-08fstream: Add Table 92 in comment.Francesco Palagi1-0/+4
2007-06-08 Francesco Palagi <palagi@arcetri.astro.it> * include/std/fstream: Add Table 92 in comment. From-SVN: r125571
2007-06-06re PR libstdc++/32233 (warning in stl_vector.h:832)Paolo Carlini1-0/+9
2007-06-06 Paolo Carlini <pcarlini@suse.de> PR libstdc++/32233 * include/bits/stl_vector.h (_M_fill_initialize): Fix return type. * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Adjust dg-error line. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise. From-SVN: r125499
2007-06-062007-06-06 Benjamin Kosnik <bkoz@redhat.com>Benjamin Kosnik1-0/+5
Frank Mori Hess <frank.hess@nist.gov> Co-Authored-By: Frank Mori Hess <frank.hess@nist.gov> From-SVN: r125485
2007-06-02type_traits (is_reference, [...]): Remove.Paolo Carlini1-0/+53
2007-06-02 Paolo Carlini <pcarlini@suse.de> * include/tr1_impl/type_traits (is_reference, add_reference, remove_reference): Remove. * include/tr1/type_traits (is_reference, add_reference, remove_reference): Add. * include/std/type_traits (is_lvalue_reference, is_rvalue_reference, is_reference, remove_reference, add_lvalue_reference, add_rvalue_reference): Add. * include/tr1_impl/boost_shared_ptr.h (operator*): Adjust. * testsuite/20_util/add_lvalue_reference/requirements/ explicit_instantiation.cc: New. * testsuite/20_util/add_lvalue_reference/value.cc: Likewise. * testsuite/20_util/add_rvalue_reference/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/add_rvalue_reference/value.cc: Likewise. * testsuite/20_util/is_lvalue_reference/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/is_lvalue_reference/requirements/ typedefs.cc: Likewise. * testsuite/20_util/is_lvalue_reference/value.cc: Likewise. * testsuite/20_util/is_rvalue_reference/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/is_rvalue_reference/requirements/ typedefs.cc: Likewise. * testsuite/20_util/is_rvalue_reference/value.cc: Likewise. * testsuite/20_util/is_reference/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/is_reference/requirements/typedefs.cc: Likewise. * testsuite/20_util/is_reference/value.cc: Likewise. * testsuite/20_util/remove_reference/requirements/ explicit_instantiation.cc: New. * testsuite/20_util/remove_reference/value.cc: Likewise. * testsuite/tr1/4_metaprogramming/add_const/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_const/value.cc: ... here. * testsuite/tr1/4_metaprogramming/add_cv/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_cv/value.cc: ... here. * testsuite/tr1/4_metaprogramming/add_pointer/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_pointer/value.cc: ... here. * testsuite/tr1/4_metaprogramming/add_reference/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_reference/value.cc: ... here. * testsuite/tr1/4_metaprogramming/add_volatile/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_volatile/value.cc: ... here. * testsuite/tr1/4_metaprogramming/aligned_storage/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/aligned_storage/value.cc: ... here. From-SVN: r125283
2007-06-02configure: Regenerate.Paolo Bonzini1-0/+4
boehm-gc: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libffi: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libgfortran: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libgomp: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libjava: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libmudflap: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libobjc: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libssp: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libstdc++-v3: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. zlib: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. From-SVN: r125278
2007-06-01what-big.cc: New.Benjamin Kosnik1-0/+20
2007-06-01 Benjamin Kosnik <bkoz@redhat.com> * testsuite/19_diagnostics/logic_error/what-big.cc: New. * testsuite/19_diagnostics/logic_error/what-3.cc: Same. * testsuite/19_diagnostics/runtime_error/what-big.cc: Same. * testsuite/19_diagnostics/runtime_error/what-3.cc: Same. * testsuite/18_support/14493.cc: Break into... * testsuite/18_support/exception/what.cc: ...this. * testsuite/18_support/bad_cast/what.cc: ...this. * testsuite/18_support/bad_alloc/what.cc: ...this. * testsuite/18_support/bad_typeid/what.cc: ...this. * testsuite/18_support/bad_exception/what.cc: ...this. * testsuite/19_diagnostics/bad_exception/23591_thread-1.c: Move... * testsuite/18_support/bad_exception/23591_thread-1.c: ...here. * testsuite/18_support/14026.cc: Move... * testsuite/18_support/uncaught_exception/14026.cc: ...here. From-SVN: r125267
2007-06-01throw_allocator.h (__throw_allocator::allocate): Throw bad_alloc for out of ↵Benjamin Kosnik1-0/+12
memory conditions. 2007-06-01 Benjamin Kosnik <bkoz@redhat.com> * include/ext/throw_allocator.h (__throw_allocator::allocate): Throw bad_alloc for out of memory conditions. * testsuite/ext/throw_allocator/deallocate_global.cc: New. * testsuite/ext/throw_allocator/check_delete.cc: Same. * testsuite/ext/throw_allocator/check_allocate_max_size.cc: Same. * testsuite/ext/throw_allocator/check_deallocate_null.cc: Same. * testsuite/ext/throw_allocator/explicit_instantiation.cc: Same. * testsuite/ext/throw_allocator/check_new.cc: Same. * testsuite/ext/throw_allocator/deallocate_local.cc: Same. From-SVN: r125261
2007-05-31re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x)Paolo Carlini1-0/+172
2007-05-31 Paolo Carlini <pcarlini@suse.de> PR libstdc++/31426 * include/bits/c++config: Remove namespace association bits from tr1 to std. * include/ext/type_traits.h (__promote, __promote2, __promote3, __promote4): Add. * include/bits/hashtable.h: New. * include/bits/functional_hash.h: Likewise. * include/tr1/hashtable.h: Likewise. * include/tr1_impl/random: New. * include/tr1_impl/cinttypes: Likewise. * include/tr1_impl/cstdlib: Likewise. * include/tr1_impl/unordered_map: Likewise. * include/tr1_impl/cstdio: Likewise. * include/tr1_impl/boost_shared_ptr.h: Likewise. * include/tr1_impl/cctype: Likewise. * include/tr1_impl/random.tcc: Likewise. * include/tr1_impl/tuple: Likewise. * include/tr1_impl/functional_hash.h: Likewise. * include/tr1_impl/hashtable: Likewise. * include/tr1_impl/cmath: Likewise. * include/tr1_impl/type_traitsfwd.h: Likewise. * include/tr1_impl/hashtable_policy.h: Likewise. * include/tr1_impl/cfenv: Likewise. * include/tr1_impl/unordered_set: Likewise. * include/tr1_impl/functional: Likewise. * include/tr1_impl/utility: Likewise. * include/tr1_impl/complex: Likewise. * include/tr1_impl/type_traits: Likewise. * include/tr1_impl/cwchar: Likewise. * include/tr1_impl/cstdint: Likewise. * include/tr1_impl/regex: Likewise. * include/tr1_impl/array: Likewise. * include/tr1_impl/cwctype: Likewise. * include/tr1/type_traitsfwd.h: Remove. * include/tr1/boost_shared_ptr.h: Likewise. * include/tr1/common.h: Likewise. * include/tr1/hashtable: Likewise. * include/tr1/hashtable_policy.h: Likewise. * include/tr1/random.tcc: Likewise. * include/c_global/cinttypes: Include tr1_impl/cinttypes. * include/c_global/cstdlib: Likewise for cstdlib. * include/c_global/cstdio: Likewise for cstdio. * include/c_global/cctype: Likewise for cctype. * include/c_global/cmath: Likewise for cmath. * include/c_global/cfenv: Likewise for cfenv. * include/c_global/cwchar: Likewise for cwchar. * include/c_global/cstdint: Likewise for cstdint. * include/c_global/cwctype: Likewise for cwctype. * include/tr1/cinttypes: Likewise for cinttypes. * include/tr1/cstdlib: Likewise for cstdlib. * include/tr1/cstdio: Likewise for cstdio. * include/tr1/cctype: Likewise for cctype. * include/tr1/cmath: Likewise for cmath. * include/tr1/cfenv: Likewise for cfenv. * include/tr1/cwchar: Likewise for cwchar. * include/tr1/cstdint: Likewise for cstdint. * include/tr1/cwctype: Likewise for cwctype. * include/tr1/functional_hash.h: Likewise for functional_hash. * include/std/tuple: Include tr1_impl/tuple. * include/std/utility: Likewise for utility. * include/std/type_traits: Likewise for type_traits. (is_pod): Just forward to __is_pod. (has_trivial_default_constructor): Just forward to __has_trivial_constructor. (has_trivial_copy_constructor): Just forward to __has_trivial_copy. (has_trivial_assign): Just forward to __has_trivial_assign. (has_trivial_destructor): Just forward to __has_trivial_destructor. (has_nothrow_default_constructor): Just forward to __has_nothrow_constructor. (has_nothrow_copy_constructor): Just forward to __has_nothrow_copy. (has_nothrow_assign): Just forward to __has_nothrow_assign. (is_base_of): Just forward to __is_base_of. (is_signed, is_unsigned): Implement according to the C++0x specifications. * include/std/memory: Likewise for memory. * include/std/regex: Likewise for regex. * include/std/random: Likewise for random. * include/std/unordered_map: Likewise for unordered_map. * include/std/unordered_set: Likewise for unordered_set. * include/std/functional: Likewise for functional. * include/std/complex: Likewise for complex. * include/std/array: Likewise for array. * include/tr1/tuple: Likewise for tuple. * include/tr1/utility: Likewise for utility. * include/tr1/type_traits: Likewise for type_traits * include/tr1/memory: Likewise for memory. * include/tr1/regex: Likewise for regex. * include/tr1/random: Likewise for random. * include/tr1/unordered_map: Likewise for unordered_map. * include/tr1/unordered_set: Likewise for unordered_set. * include/tr1/functional: Likewise for functional. * include/tr1/complex: Likewise for complex. * include/tr1/array: Likewise for array. * include/c_global/ctgmath: Tweak. * include/c_global/cstdarg: Likewise. * include/c_global/ctime: Likewise. * include/c_global/climits: Likewise. * include/c_global/cfloat: Likewise. * include/c_global/ccomplex: Likewise. * include/c_global/cstdbool: Likewise. * include/tr1/poly_laguerre.tcc: Tweak, don't use _GLIBCXX_TR1. * include/tr1/riemann_zeta.tcc: Likewise. * include/tr1/beta_function.tcc: Likewise. * include/tr1/exp_integral.tcc: Likewise. * include/tr1/hypergeometric.tcc: Likewise. * include/tr1/modified_bessel_func.tcc: Likewise. * include/tr1/legendre_function.tcc: Likewise. * include/tr1/special_function_util.h: Likewise. * include/tr1/bessel_function.tcc: Likewise. * include/tr1/poly_hermite.tcc: Likewise. * include/tr1/ell_integral.tcc: Likewise. * include/tr1/gamma.tcc: Likewise. * include/tr1/stdlib.h: Likewise. * include/tr1/math.h: Likewise. * include/tr1/complex.h: Minor tweaks. * include/tr1/wctype.h: Likewise. * include/tr1/wchar.h: Likewise. * include/tr1/inttypes.h: Likewise. * include/tr1/tgmath.h: Likewise. * include/tr1/cstdbool: Likewise. * include/tr1/cfloat: Likewise. * include/tr1/ccomplex: Likewise. * include/tr1/ctime: Likewise. * include/tr1/climits: Likewise. * include/tr1/ctgmath: Likewise. * include/tr1/cstdarg: Likewise. * testsuite/tr1/headers.cc: Move... * testsuite/tr1/headers/all.cc: ... here. * testsuite/tr1/using_namespace_std_tr1.cc: Move... * testsuite/tr1/headers/c++200x/using_namespace_std_tr1.cc: ... here. * testsuite/tr1/headers/using_namespace_std_tr1.cc ... here. * testsuite/tr1/headers/c++200x/using_namespace_std_tr1.cc: New. * testsuite/20_util/tuple/requirements/explicit_instantiation.cc: Adjust namespace. * testsuite/20_util/has_nothrow_copy_constructor/value.cc: Adjust to the C++0x requirements. * testsuite/20_util/has_nothrow_default_constructor/value.cc: Likewise. * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise. * testsuite/20_util/has_trivial_default_constructor/value.cc: Likewise. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust dg-error lines. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Likewise. * testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc: Un-xfail. * testsuite/20_util/is_signed/value.cc: New. * testsuite/20_util/is_signed/requirements/typedefs.cc: Likewise. * testsuite/20_util/is_signed/requirements/explicit_instantiation.cc: Likewise. * testsuite/20_util/is_unsigned/value.cc: Likewise.. * testsuite/20_util/is_unsigned/requirements/typedefs.cc: Likewise. * testsuite/20_util/is_unsigned/requirements/explicit_instantiation.cc: Likewise. * include/Makefile.am: Adjust. * include/Makefile.in: Regenerate. From-SVN: r125244