summaryrefslogtreecommitdiff
path: root/libstdc++-v3
Commit message (Collapse)AuthorAgeFilesLines
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ECANCELED for cygwin.Roger Sayle2007-09-095-1/+91
| | | | | | | | | | * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ECANCELED for cygwin. * configure: Regenerate. * config/os/generic/error_constants.h: Guard. * testsuite/19_diagnostics/headers/system_error/ types_std_c++0x.cc: Same. From-SVN: r128307
* binary_search.cc: Move...Benjamin Kosnik2007-09-0911-157/+543
| | | | | | | | | | | | | | | | | | | | | | 2007-09-09 Benjamin Kosnik <bkoz@redhat.com> * testsuite/25_algorithms/binary_search.cc: Move... * testsuite/25_algorithms/binary_search/2.cc: ...here. * testsuite/25_algorithms/sort.cc: Move... * testsuite/25_algorithms/sort/1.cc: ...here. * testsuite/25_algorithms/partial_sort_copy/2.cc: ...here. * testsuite/25_algorithms/nth_element/3.cc: ...here. * testsuite/25_algorithms/partial_sort/2.cc: ...here. * testsuite/25_algorithms/stable_sort/2.cc: ...here. * testsuite/25_algorithms/min_max.cc: Move... * testsuite/25_algorithms/min/1.cc: ...here. * testsuite/25_algorithms/min/2.cc: ...here. * testsuite/25_algorithms/max/1.cc: ...here. * testsuite/25_algorithms/max/2.cc: ...here. From-SVN: r128303
* file-format.exp (gcc_target_object_format): Use remote_exec to call objdump.Joseph Myers2007-09-092-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/testsuite: * lib/file-format.exp (gcc_target_object_format): Use remote_exec to call objdump. * lib/scanasm.exp (scan-assembler-dem, scan-assembler-dem-not): Use remote_exec to call c++filt. * lib/target-supports-dg.exp (dg-require-host-local): New. * gcc.misc-tests/options.exp: Allow .exe in command paths. * g++.dg/parse/repo1.C: Use dg-require-host-local. * g++.dg/rtti/repo1.C: Likewise. * g++.dg/template/repo1.C: Likewise. * g++.dg/template/repo2.C: Likewise. * g++.dg/template/repo3.C: Likewise. * g++.dg/template/repo4.C: Likewise. * g++.dg/template/repo5.C: Likewise. * g++.old-deja/g++.pt/instantiate4.C: Likewise. * g++.old-deja/g++.pt/instantiate6.C: Likewise. * g++.old-deja/g++.pt/repo1.C: Likewise. * g++.old-deja/g++.pt/repo2.C: Likewise. * g++.old-deja/g++.pt/repo3.C: Likewise. * g++.old-deja/g++.pt/repo4.C: Likewise. * gcc.dg/cpp/trad/builtins.c: Likewise. libstdc++-v3: * testsuite/lib/libstdc++.exp (v3-build-support): Specify output file for preprocessing. Use remote_exec to call ar and ranlib. From-SVN: r128283
* functional_hash.h: Add ext/numeric_traits.h.Benjamin Kosnik2007-09-0918-162/+348
| | | | | | | | | | | | | | | | | | | | | | | | | 2007-09-08 Benjamin Kosnik <bkoz@redhat.com> * include/bits/functional_hash.h: Add ext/numeric_traits.h. * include/tr1/functional_hash.h Same. * include/tr1/functional: Remove string, ext/type_traits.h includes. * include/tr1_impl/functional_hash.h: Move string, wstring definitions for std::<hash>::operator into separate file. * include/std/functional * src/hash.cc: New, move definitions here. * src/hash_c++0x.cc: Same. * src/Makefile.am: Add new source files. * configure: Regenerate. * Makefile.in: Same. * src/Makefile.in: Same. * po/Makefile.in: Same. * libmath/Makefile.in: Same. * libsupc++/Makefile.in: Same. * testsuite/Makefile.in: Same. * config/abi/pre/gnu.ver: Add symbols. * config/abi/pre/gnu-versioned-namespace.ver: Same, fix. From-SVN: r128278
* copy_neg.cc: Correct line number.Benjamin Kosnik2007-09-072-1/+6
| | | | | | | | | 2007-09-07 Benjamin Kosnik <bkoz@redhat.com> * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Correct line number. From-SVN: r128255
* re PR libstdc++/33203 (libstdc++-v3 build broken on i386-pc-mingw32)Danny Smith2007-09-079-114/+320
| | | | | | | | | | | | | | | | | | PR libstdc++/33203 * configure.host (error_constants_dir): New variable, defaulting to os/generic. ( mingw32*): Overide default. * configure.ac (ERROR_CONSTANTS_SRCDIR): New. * configure: Regenerate. * include/Makefile.am (host_headers): Add $(ERROR_CONSTANTS_SRCDIR)/error_constants.h . * include/Makefile.in: Regenerate. * include/std/system_error (enum posix_errno): Remove. Include <bits/error_constants.h> instead. * config/os/mingw32/error_constants.h: New. * config/os/generic/error_constants.h: New. From-SVN: r128228
* libstdc++.exp: Check CXXFLAGS.Benjamin Kosnik2007-09-0718-174/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-09-06 Benjamin Kosnik <bkoz@redhat.com> * testsuite/lib/libstdc++.exp: Check CXXFLAGS. * scripts/testsuite_flags.in: CXXFLAGS_default, matching dejagnu. * include/std/ostream: Spacing tweak. * include/ext/hashtable.h: Use <algorithm>. * include/ext/slist: Same. * include/ext/rope: Same. * include/bits/stl_function.h: Format. * include/tr1_impl/array: Remove section number in doxygen markup. * src/list.cc: Comment tweak. * docs/doxygen/user.cfg.in: Update for include/tr1_impl. * testsuite/25_algorithms/search_n/iterator.cc: Add using declaration. * testsuite/25_algorithms/nth_element/1.cc: Same. * testsuite/21_strings/char_traits/requirements/short/1.cc: Use char_type typedef to the underlying character type. * testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc: Remove -ansi -pedantic-errors. * testsuite/21_strings/char_traits/requirements/char/typedefs.cc: Same. * testsuite/tr1/6_containers/headers/functional/synopsis.cc: Remove specializations. From-SVN: r128225
* re PR libstdc++/29367 (pb_ds hash containers vs. _GLIBCXX_DEBUG)Benjamin Kosnik2007-09-071-0/+12
| | | | | | | | | | | | | | | | 2007-09-06 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/29367 * include/ext/pb_ds/detail/map_debug_base.hpp: From this.. * include/ext/pb_ds/detail/debug_map_base.hpp: ...to this. Rename map_debug_base to debug_map_base, add std::pair output extractors, change duplicate map_debug_base typedef in containers to debug_base. Use m_store_extra_indicator for m_store_hash_indicator. * include/ext/pb_ds/*: Likewise. * include/Makefile.am: Same. * include/Makefile.in: Regenerate. From-SVN: r128222
* re PR libstdc++/29367 (pb_ds hash containers vs. _GLIBCXX_DEBUG)Benjamin Kosnik2007-09-0758-182/+198
| | | | | | | | | | | | | | | | 2007-09-06 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/29367 * include/ext/pb_ds/detail/map_debug_base.hpp: From this.. * include/ext/pb_ds/detail/debug_map_base.hpp: ...to this. Rename map_debug_base to debug_map_base, add std::pair output extractors, change duplicate map_debug_base typedef in containers to debug_base. Use m_store_extra_indicator for m_store_hash_indicator. * include/ext/pb_ds/*: Likewise. * include/Makefile.am: Same. * include/Makefile.in: Regenerate. From-SVN: r128221
* stl_vector.h (_Vector_base<>::_M_allocate): Do not call _M_impl.allocate ↵Paolo Carlini2007-09-073-1/+84
| | | | | | | | | | | | when __n == 0. 2007-09-06 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_vector.h (_Vector_base<>::_M_allocate): Do not call _M_impl.allocate when __n == 0. * testsuite/23_containers/vector/zero_sized_allocations.cc: New. From-SVN: r128220
* cstdlib: Remove empty directory.Matthias Klose2007-09-061-0/+4
| | | | | | | | 2007-09-06 Matthias Klose <doko@debian.org> * testsuite/27_io/headers/cstdlib: Remove empty directory. From-SVN: r128204
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add EBADMSG for darwin.Roger Sayle2007-09-056-2/+94
| | | | | | | | | | | | * 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. From-SVN: r128154
* re PR libstdc++/33293 (inlining std::inner_product())Paolo Carlini2007-09-032-4/+10
| | | | | | | | | | 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
* mangle.c (write_type): Change mangling of rvalue reference from `RR' to `O'.Doug Gregor2007-08-312-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENODATA, ENOSR, ENOSTR, ETIME ↵Benjamin Kosnik2007-08-297-2/+353
| | | | | | | | | | | | | | | | | 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
* re PR libstdc++/33128 (std::tr1::uniform_int returns value out of range)Paolo Carlini2007-08-283-1/+56
| | | | | | | | | | | | 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
* acinclude.m4: Fix duplicate variable names.Benjamin Kosnik2007-08-243-10/+15
| | | | | | | | | 2007-08-24 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4: Fix duplicate variable names. * configure: Regenerate. From-SVN: r127784
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENOLINK, EPROTO for netbsd.Benjamin Kosnik2007-08-247-2/+179
| | | | | | | | | | | | | | | 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
* system_error: New file.Benjamin Kosnik2007-08-2339-32/+2022
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Makefile.am (install-data-local): Remove pch-install rules.Benjamin Kosnik2007-08-2211-454/+520
| | | | | | | | | | | | | | | | | | | 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
* re PR testsuite/31884 (priority_queue_dijkstra.cc operates on deallocated ↵Daniel Jacobowitz2007-08-1727-0/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* typedefs_neg.cc: Adjust dg-error lines.Paolo Carlini2007-08-173-4/+10
| | | | | | | | | | 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
* re PR libstdc++/33098 ([c++0x] __is_convertible_helper in type_traits uses ↵Chris Fairles2007-08-172-1/+8
| | | | | | | | | | | | 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
* re PR libstdc++/33084 (Small typo in valarray header)Johannes Willkomm2007-08-173-1/+56
| | | | | | | | | | | 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
* Makefile.am (libstdc++-symbol.ver): Make sure the build tree copy of ↵Jim Blandy2007-08-073-0/+8
| | | | | | | | | | 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
* DR 660, [Ready] in Toronto.Paolo Carlini2007-08-027-4803/+20356
| | | | | | | | | | | | | | 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
* re PR libstdc++/32908 (Miss lexicographical_compare random access override)Paolo Carlini2007-07-303-21/+133
| | | | | | | | | | | | 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
* Fix typo in log.John David Anglin2007-07-281-1/+1
| | | | From-SVN: r127022
* re PR libstdc++/32907 (Inefficient operator== in std::string)Paolo Carlini2007-07-274-35/+47
| | | | | | | | | | | | | | | | | | 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
* Fixed abi_check for missing symbol size changes.Stephen M. Webb2007-07-262-2/+8
| | | | | | | | | | 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
* re PR libstdc++/31836 (FAIL: ↵John David Anglin2007-07-253-1/+17
| | | | | | | | | | | | 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
* re PR bootstrap/3456 (bootstrapping gcc-3.0 with threadmodel=posix fails on ↵Rainer Orth2007-07-1613-27/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ctype_base.h: Use the generic libstdc++ masks rather than MSVCRT defines.Danny Smith2007-07-163-22/+176
| | | | | | | | | * 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-12 Paolo Carlini <pcarlini@suse.de>Paolo Carlini2007-07-121-12/+13
| | | | | | * Tweak ovelong lines in last ChangeLog entry. From-SVN: r126592
* all_bound.cc: Disambiguate uses of TR1/C++0x facilities.Douglas Gregor2007-07-1228-56/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* configure.ac: Check if $atomicity_dir is cpu/generic/atomicity_mutex instead ↵Bob Wilson2007-07-103-2/+8
| | | | | | | | | | 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
* utility (identity, [...]): Add.Paolo Carlini2007-07-101-1/+25
| | | | | | | | | | | | | | | | | | 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: r126524
* utility (identity, [...]): Add.Paolo Carlini2007-07-109-0/+354
| | | | | | | | | | | | | | | | | | 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
* what-1.cc: Include <stdexcept>.Paolo Carlini2007-07-092-0/+5
| | | | | | | | 2007-07-09 Paolo Carlini <pcarlini@suse.de> * testsuite/27_io/ios_base/failure/what-1.cc: Include <stdexcept>. From-SVN: r126490
* stl_algo.h (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2, ↵Jim Xochellis2007-07-092-10/+15
| | | | | | | | | | | | | | | | _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
* libstdc++.exp (v3-build_support): Use env(AR) and env(RANLIB), not ↵Hans-Peter Nilsson2007-07-062-4/+9
| | | | | | | | | 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
* re PR libstdc++/31957 (Build of compiler fails with 'error: #endif without #if')Joerg Richter2007-07-053-2/+12
| | | | | | | | | | 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
* stl_algo.h (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2, ↵Jim Xochellis2007-07-052-10/+13
| | | | | | | | | | | | | | | _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
* re PR libstdc++/31518 (_GLIBCXX_DEBUG error message formatter line width not ↵Paolo Carlini2007-07-048-7/+58
| | | | | | | | | | | | | | | | | | | | 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
* typedefs_neg.cc: Tweak line numbers.Douglas Gregor2007-07-026-7/+19
| | | | | | | | | | | | | | | | 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
* type_traits (__make_unsigned): Remove invalid wchar_t specialization.Douglas Gregor2007-07-022-8/+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
* std_c++0x_neg.cc: Force C++98 mode.Doug Gregor2007-06-2913-0/+13
| | | | | | | | | | | | | | | | | | | | | | | 2007-06-29 Douglas Gregor <doug.gregor@gmail.com> * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc: Force C++98 mode. * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Ditto. * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Ditto. * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Ditto. * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Ditto. From-SVN: r126120
* re PR libstdc++/32509 (unable to explicitely configure with a given locale ↵Paolo Carlini2007-06-284-37/+51
| | | | | | | | | | | | | | | 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
* testsuite_api.h: New.Benjamin Kosnik2007-06-2617-0/+664
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* throw_allocator.h: Fixes for -fno-exceptions.Benjamin Kosnik2007-06-268-68/+100
| | | | | | | | | | | | | | | | 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