summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/testsuite/ext
Commit message (Collapse)AuthorAgeFilesLines
...
* 2004-10-11 Joachim Kuebart <kuebart@mathematik.uni-ulm.de>paolo2004-10-111-0/+63
| | | | | | | | | | | | | Paolo Carlini <pcarlini@suse.de> * src/pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk): Deal properly with exceptions thrown by ::operator new(size_t). * testsuite/ext/pool_allocator/allocate_chunk.cc: New. * include/ext/pool_allocator.h: Include <cstdlib>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88872 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-08 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-10-098-0/+16
| | | | | | | | | | | | | | | | | | | | | | * acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT. * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): New. * configure.ac: Call GLIBCXX_ENABLE_CXA_EXIT. * configure: Regenerate. * src/mt_allocator.cc (__pool::~__pool): Make conditional on _GLIBCXX_USE___CXA_ATEXIT macro. * docs/html/ext/mt_allocator.html: Add note about deallocation. * testsuite/ext/mt_allocator/deallocate_local-2.cc: Guard checks with _GLIBCXX_USE___CXA_ATEXIT. * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same. * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same. * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same. * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same. * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same. * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same. * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88809 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-07 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-10-072-0/+137
| | | | | | | | | | | | | | | | | | * include/tr1: New. * include/tr1/array: New. * include/Makefile.am (tr1_headers): New. (stamp-tr1): New. (install-headers): New. (allstamped): Add stamp-tr1. * include/ext/array_allocator.h: New. * include/Makefile.am: Add. * include/Makefile.in: Regenerate. * testsuite/ext/array_allocator/1.cc: New. * testsuite/ext/array_allocator/2.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88711 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-06 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-10-065-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread. (GLIBCXX_CONFIGURE_TESTSUITE): Use it. * configure: Regenerated. * testsuite/Makefile.am (CLEANFILES): Add TEST for check-performance executables. (stamp_thread): New. (all-local): Use it. * testsuite/Makefile.in: Regenerate. * scripts/create_testsuite_files: Filter thread tests. * testsuite/thread/pthread1.cc: Remove macro conditionals: this file will only be run by thread enabled configurations. * testsuite/thread/pthread7-rope.cc: Same, add rope_type typedef. * testsuite/thread/pthread6.cc: Same. * testsuite/thread/pthread5.cc: Same. * testsuite/thread/pthread4.cc: Same. * testsuite/thread/pthread3.cc: Same. * testsuite/thread/pthread2.cc: Same. * testsuite/ext/mt_allocator/instantiate.cc: Add in __GTHREADS guard. * testsuite/ext/mt_allocator/deallocate_global-1.cc: Move to... * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: ...here. * testsuite/ext/mt_allocator/deallocate_global-3.cc: Move to... * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: ...here. * testsuite/ext/mt_allocator/deallocate_local-1.cc: Move to... * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: ...here. * testsuite/ext/mt_allocator/deallocate_local-3.cc: Move to... * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: ...here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88628 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-05 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-10-0615-1/+979
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/17780 * include/ext/mt_allocator.h (__pool_base::_Tune): Add default options as compile-time constant enums. (__pool_base::_Tune::is_default): New. (__pool_base::_Block_address): New. (__pool_base): Rearrange data members. (__pool::_M_reserve_memory): To _M_reserve_block. (__pool::_M_reclaim_memory): To _M_reclaim_block. (__pool::_Bin_record): Add _Block_address data member. (__pool<false>): Add _M_thread_freelist_initial. (__pool::~__pool): Declare. (__common_pool_policy): Move static data member to... (__common_pool_policy::_S_get_pool): ...here, make static local. (__per_type_pool_policy): Move static data member to... (__per_type_pool_policy::_S_get_pool): ...here, make static local. (__mt_alloc::__mt_alloc): Call __policy_type::_S_get_pool. Remove static member definitions. Use define for __default_policy. * src/mt_allocator.cc: Same. * config/linker-map.gnu: Don't export _S_get_pool. Renames. * testsuite/ext/new_allocator: New. * testsuite/ext/new_allocator/instantiate.cc: New. * testsuite/ext/new_allocator/check_new.cc: New. * testsuite/ext/new_allocator/deallocate_global.cc: New. * testsuite/ext/new_allocator/deallocate_local.cc: New. * testsuite/ext/mt_allocator/instantiate.cc: Instantiate all template arguments. * testsuite/ext/mt_allocator/deallocate_global-1.cc: New. * testsuite/ext/mt_allocator/deallocate_global-2.cc: New. * testsuite/ext/mt_allocator/deallocate_global-3.cc: New. * testsuite/ext/mt_allocator/deallocate_global-4.cc: New. * testsuite/ext/mt_allocator/deallocate_local-1.cc: New. * testsuite/ext/mt_allocator/deallocate_local-2.cc: New. * testsuite/ext/mt_allocator/deallocate_local-3.cc: New. * testsuite/ext/mt_allocator/deallocate_local-4.cc: New. * testsuite/ext/mt_allocator/deallocate.cc: New. * testsuite/ext/malloc_allocator/deallocate.cc: New. * testsuite/ext/malloc_allocator/deallocate_global.cc: New. * testsuite/ext/malloc_allocator/deallocate_local.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88589 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: XFAIL more armpbrook2004-09-242-2/+2
| | | | | | | | | | | | | simulator targets. * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Ditto. * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Ditto. * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Ditto. * testsuite/ext/stdio_filebuf/char/10063-2.cc: Ditto. * testsuite/ext/stdio_filebuf/char/10063-3.cc: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88003 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-17 Paolo Carlini <pcarlini@suse.de>paolo2004-09-174-54/+40
| | | | | | | | | | | * testsuite/ext/mt_allocator/tune-1.cc: Use VERIFY, clean up a bit. * testsuite/ext/mt_allocator/tune-2.cc: Likewise. * testsuite/ext/mt_allocator/tune-3.cc: Likewise. * testsuite/ext/mt_allocator/tune-4.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87638 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-01 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-09-0113-105/+690
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/16614 * include/ext/mt_allocator.h (__mt_base): Not type dependent, split into.. (__pool): New, specialize. (__common_pool): New, static bits here. (__per_type_pool): New, and here. (__mt_alloc_base): New. (__mt_alloc): Add template parameter, inherit from it. * src/allocator.cc: Split this... * src/allocator-inst.cc: And this... * src/pool_allocator.cc: ...into this. * src/mt_allocator.cc: ... and this. Add definitions for __mt_base. * src/Makefile.am (sources): Split allocator.cc to pool_allocator.cc and mt_allocator.cc. * src/Makefile.in: Regenerate. * config/linker-map.gnu: Add symbols. * docs/html/ext/mt_allocator.html: Document new design. * testsuite/ext/mt_allocator/tune-1.cc: New. * testsuite/ext/mt_allocator/tune-2.cc: New. * testsuite/ext/mt_allocator/tune-3.cc: New. * testsuite/ext/mt_allocator/tune-4.cc: New. * testsuite/testsuite_allocator.h (__gnu_test::check_new): New. * testsuite/ext/allocators.cc: Use check_new, split into... * testsuite/ext/mt_allocator/check_new.cc: this. * testsuite/ext/pool_allocator/check_new.cc: this. * testsuite/ext/malloc_allocator/check_new.cc: this. * testsuite/ext/debug_allocator/check_new.cc: this. * testsuite/ext/mt_allocator/instantiate.cc: this. * testsuite/ext/pool_allocator/instantiate.cc: this. * testsuite/ext/malloc_allocator/instantiate.cc: this. * testsuite/ext/debug_allocator/instantiate.cc: this. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86936 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/16844austern2004-08-022-0/+68
| | | | | | | | | | | | | | | | | | | * include/bits/stl_list.h (_M_create_node): Remove unused zero-argument version. * include/ext/slist (_M_create_node): Pass two arguments to allocator's construct() member function. * testsuite/23_containers/deque/explicit_instantiation.cc: New. * testsuite/23_containers/list/explicit_instantiation.cc: New. * testsuite/23_containers/vector/explicit_instantiation.cc: New. * testsuite/23_containers/map/explicit_instantiation.cc: New. * testsuite/23_containers/set/explicit_instantiation.cc: New. * testsuite/23_containers/multimap/explicit_instantiation.cc: New. * testsuite/23_containers/multiset/explicit_instantiation.cc: New. * testsuite/ext/hash_set_explicit_instantiation.cc: New. * testsuite/ext/slist_explicit_instantiation.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85428 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/stl_construct.h (_Destroy): New three-argumentaustern2004-07-282-0/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | overload that takes an allocator argument. Another inline three-argument overload that takes std::allocator and dispatches to the two-argument version. * include/bits/stl_uninitialized.h (__uninitialized_fill_n_aux): Change return type to void to match uninitialized_fill_n. (__uninitialized_copy_a_): New function. Like uninitialized_copy except that it takes an allocator and uses it for construct and destroy. If the allocator is std::allocator, dispatches to uninitialized_copy. (__uninitialized_fill_a): Likewise. (__uninitialized_fill_n_a): Likewise. (__uninitialized_copy_copy): Give it an allocator argument. (__uninitialized_fill_copy): Likewise. (__uninitialized_copy_fill): Likewise. * include/bits/deque.tcc: Use new forms defined in stl_construct.h and stl_uninitialized.h. Replace use of single-argument _Construct and _Destroy with use of allocator's construct and destroy methods. * include/bits/list.tcc: Likewise. * include/bits/stl_deque.h: Likewise. * include/bits/stl_list.h: Likewise. * include/bits/stl_tree.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/bits/vector.tcc: Likewise. * include/ext/hashtable.h: Use rebind so that allocator_type has correct type for a container's allocator. Replace use of single-argument _Construct and _Destroy with use of allocator's construct and destroy methods. * include/ext/memory (__uninitialized_copy_n_a): New function. Like uninitialized_copy_n except that it takes an extra parameter, an allocator, and uses it for construct and destroy operations. * include/ext/rope: Use new forms defined in stl_construct.h, stl_uninitialized.h, and ext/memory. Replace use of single-argument _Construct and _Destroy with allocator construct and destroy methods. * include/ext/ropeimpl.h: Likewise. * include/ext/slist.h: Likewise. * testsuite/testsuite_allocator.h (check_construct_destroy): New. * testsuite/testsuite_allocator.cc (check_construct_destroy): New. * testsuite/23_containers/deque/check_construct_destroy.cc: New. * testsuite/23_containers/list/check_construct_destroy.cc: New. * testsuite/23_containers/set/check_construct_destroy.cc: New. * testsuite/23_containers/vector/check_construct_destroy.cc: New. * testsuite/ext/hash_check_construct_destroy.cc: New. * testsuite/ext/slist_check_construct_destroy.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85265 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-16 Paolo Carlini <pcarlini@suse.de>paolo2004-06-163-0/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/ext/rope (rope(_CharT, const allocator_type&)): Fix to use _Data_allocate. * include/ext/ropeimpl.h (rope<>::_S_leaf_concat_char_iter): Likewise. (rope<>::_S_substring): Likewise. (rope<>::rope(size_t, _CharT, const allocator_type&)): Likewise. (rope<>::c_str()): Likewise. (rope<>::replace_with_c_str()): Likewise. * include/ext/ropeimpl.h (_Rope_iterator_base<>::_S_setbuf): Correctly qualify _S_leaf, _S_function, etc., with _Rope_constants::, not _RopeRep. (_Rope_iterator_base<>::_S_setcache): Likewise. (_Rope_iterator_base<>::_S_setcache_for_incr): Likewise. (rope<>::_S_substring): Likewise. (rope<>::_S_dump): Likewise. (rope<>::_S_fetch_ptr): Likewise. (rope<>::_S_compare): Likewise. (rope<>::replace_with_c_str()): Likewise. * testsuite/ext/rope.cc: Rename to testsuite/ext/rope/1.cc. * testsuite/ext/rope/2.cc: New. 2004-06-16 Paolo Carlini <pcarlini@suse.de> Matt Austern <austern@apple.com> * testsuite/ext/rope/3.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83251 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-04-19 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-04-192-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc: Clarify assertion, set test variable to false before assert. * testsuite/27_io/basic_istringstream/str/char/1.cc: Same. * testsuite/27_io/basic_stringstream/str/char/1.cc: Same. * testsuite/27_io/ios_base/storage/2.cc: Same. * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Fix function returns. * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Same. * testsuite/27_io/fpos/14320-3.cc: Same. * testsuite/27_io/basic_filebuf/2.cc: Instantiate in namespace std. * testsuite/27_io/fpos/1.cc: Same. * testsuite/27_io/basic_stringstream/2.cc: Same. * testsuite/27_io/basic_stringbuf/4.cc: Same. * testsuite/27_io/basic_stringbuf/1.cc: Same. * testsuite/27_io/basic_stringbuf/2.cc: Same. * testsuite/27_io/basic_streambuf/2.cc: Same. * testsuite/27_io/basic_ostringstream/2.cc: Same. * testsuite/27_io/basic_ostream/2.cc: Same. * testsuite/27_io/basic_ofstream/2.cc: Same. * testsuite/27_io/basic_istringstream/2.cc: Same. * testsuite/27_io/basic_istream/2.cc: Same. * testsuite/27_io/basic_iostream/2.cc: Same. * testsuite/27_io/basic_ios/2.cc: Same. * testsuite/27_io/basic_ifstream/2.cc: Same. * testsuite/27_io/basic_fstream/2.cc: Same. * testsuite/ext/stdio_filebuf/char/1.cc: Same, in namespace __gnu_cxx. * testsuite/21_strings/basic_string/capacity/1.cc: Don't compare unsigned against zero. * testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Same. * testsuite/21_strings/basic_string/capacity/char/1.cc: Same. * testsuite/18_support/new_delete_placement.cc: Initialize variables before first use. * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc: Same. * testsuite/21_strings/char_traits/requirements/char/1.cc: Same. * testsuite/21_strings/char_traits/requirements/short/1.cc: Same. * testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc: Same. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_badbit_throw.cc: Same. * testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc: Same. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_failbit_throw.cc: Same. * testsuite/27_io/types/2.cc: Same. * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Fix temporary file name. * testsuite/27_io/fpos/14775.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80861 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-27 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-03-271-0/+47
| | | | | | | | | | | | | | | | libstdc++ PR/13598 * config/locale/ieee_1003.1-2001/codecvt_specializations.h (__enc_traits::_M_destroy): New. (__enc_traits::~__enc_traits): Use it. (__enc_traits::operator=): Use _M_destroy, _M_init. (__enc_traits::__enc_traits): Same. 2004-03-27 Petur Runolfsson <peturr02@ru.is> * testsuite/ext/enc_filebuf/char/13598.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80027 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-19 Paolo Carlini <pcarlini@suse.de>paolo2004-03-191-0/+79
| | | | | | | | | | | | | Petur Runolfsson <peturr02@ru.is> PR libstdc++/12077 * include/ext/stdio_sync_filebuf.h (showmanyc): Remove, there's no way to find out the conversion used by the underlying FILE*. * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: New. * testsuite/27_io/objects/char/9.cc: Tweak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79695 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-19 Paolo Carlini <pcarlini@suse.de>paolo2004-03-191-0/+40
| | | | | | | | | | PR libstdc++/14648 * include/ext/ropeimpl.h (rope<>::_S_apply_to_pieces): Fix memory allocation/deallocation calls. * testsuite/ext/14648.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79687 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-04 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-03-044-4/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/20_util/allocator/1.cc: Provide explicit instantiations for non-weak systems. * testsuite/20_util/binders.cc: Same. * testsuite/20_util/allocator/8230.cc: Same. * testsuite/20_util/allocator/10378.cc: Same. * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same. * testsuite/22_locale/ctype/is/char/2.cc: Same. * testsuite/thread/pthread7-rope.cc: Same. * testsuite/thread/pthread6.cc: Same. * testsuite/thread/pthread5.cc: Same. * testsuite/thread/pthread4.cc: Same. * testsuite/thread/pthread1.cc: Same. * testsuite/ext/rope.cc: Same. * testsuite/ext/hash_set.cc: Same. * testsuite/ext/hash_map.cc: Same. * testsuite/ext/concept_checks.cc: Same. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Same. * testsuite/25_algorithms/unique/2.cc: Same. * testsuite/25_algorithms/unique/1.cc: Same. * testsuite/25_algorithms/rotate.cc: Same. * testsuite/25_algorithms/min_max.cc: Same. * testsuite/25_algorithms/equal.cc: Same. * testsuite/24_iterators/rel_ops.cc: Same. * testsuite/24_iterators/iterator.cc: Same. * testsuite/24_iterators/insert_iterator.cc: Same. * testsuite/24_iterators/front_insert_iterator.cc: Same. * testsuite/24_iterators/back_insert_iterator.cc: Same. * testsuite/23_containers/vector/resize/1.cc: Same. * testsuite/23_containers/vector/modifiers/2.cc: Same. * testsuite/23_containers/vector/modifiers/1.cc: Same. * testsuite/23_containers/vector/invalidation/4.cc: Same. * testsuite/23_containers/vector/invalidation/3.cc: Same. * testsuite/23_containers/vector/invalidation/2.cc: Same. * testsuite/23_containers/vector/invalidation/1.cc: Same. * testsuite/23_containers/vector/element_access/1.cc: Same. * testsuite/23_containers/vector/cons/6513.cc: Same. * testsuite/23_containers/vector/cons/3.cc: Same. * testsuite/23_containers/vector/cons/2.cc: Same. * testsuite/23_containers/vector/cons/1.cc: Same. * testsuite/23_containers/vector/capacity/8230.cc: Same. * testsuite/23_containers/vector/capacity/1.cc: Same. * testsuite/23_containers/vector/bool/6886.cc: Same. * testsuite/23_containers/stack/members/7158.cc: Same. * testsuite/23_containers/set/invalidation/2.cc: Same. * testsuite/23_containers/set/invalidation/1.cc: Same. * testsuite/23_containers/queue/members/7157.cc: Same. * testsuite/23_containers/priority_queue/members/7161.cc: Same. * testsuite/23_containers/multiset/invalidation/2.cc: Same. * testsuite/23_containers/multiset/invalidation/2.cc: Same. * testsuite/23_containers/multiset/insert/1.cc: Same. * testsuite/23_containers/multimap/invalidation/2.cc: Same. * testsuite/23_containers/multimap/invalidation/2.cc: Same. * testsuite/23_containers/map/operators/1.cc: Same. * testsuite/23_containers/map/invalidation/2.cc: Same. * testsuite/23_containers/map/invalidation/1.cc: Same. * testsuite/23_containers/map/insert/1.cc: Same. * testsuite/23_containers/list/operators/4.cc: Same. * testsuite/23_containers/list/operators/3.cc: Same. * testsuite/23_containers/list/operators/2.cc: Same. * testsuite/23_containers/list/operators/1.cc: Same. * testsuite/23_containers/list/modifiers/3.cc: Same. * testsuite/23_containers/list/modifiers/2.cc: Same. * testsuite/23_containers/list/modifiers/1.cc: Same. * testsuite/23_containers/list/invalidation/4.cc: Same. * testsuite/23_containers/list/invalidation/3.cc: Same. * testsuite/23_containers/list/invalidation/2.cc: Same. * testsuite/23_containers/list/invalidation/1.cc: Same. * testsuite/23_containers/list/cons/9.cc: Same. * testsuite/23_containers/list/cons/8.cc: Same. * testsuite/23_containers/list/cons/7.cc: Same. * testsuite/23_containers/list/cons/6.cc: Same. * testsuite/23_containers/list/cons/5.cc: Same. * testsuite/23_containers/list/cons/4.cc: Same. * testsuite/23_containers/list/cons/3.cc: Same. * testsuite/23_containers/list/cons/2.cc: Same. * testsuite/23_containers/list/cons/1.cc: Same. * testsuite/23_containers/list/capacity/1.cc: Same. * testsuite/23_containers/deque/operators/1.cc: Same. * testsuite/23_containers/deque/invalidation/4.cc: Same. * testsuite/23_containers/deque/invalidation/3.cc: Same. * testsuite/23_containers/deque/invalidation/2.cc: Same. * testsuite/23_containers/deque/invalidation/1.cc: Same. * testsuite/23_containers/deque/cons/2.cc: Same. * testsuite/23_containers/deque/cons/1.cc: Same. * src/allocator.cc: Add char, wchar_t instantiations to match extern template declarations in memory.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78922 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-16 Paolo Carlini <pcarlini@suse.de>paolo2004-02-162-2/+0
| | | | | | | | | * testsuite/ext/enc_filebuf/char/13189.cc: Don't check for now that the catch block is not reached. * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77906 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.ljrittle2004-01-202-0/+62
| | | | | | | | * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test. Like -2 but use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76191 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-01-16 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-01-172-12/+8
| | | | | | | | * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards. * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76017 138bc75d-0d04-0410-961f-82ee72b054a4
* * acconfig.h: Add _GLIBCXX_USE_C99_MATH.mmitchel2003-12-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCXX_ENABLE_C99): Define GLIBCXX_USE_C99_MATH. * configure.ac: Define HAVE_S_ISREG and HAVE_S_IFREG when targeting newlib. * aclocal.m4: Regenerated. * config.h.in: Likewise. * configure: Likewise. * Makefile.in: Likewise. * include/Makefile.in: Likewise. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. * src/Makefile.in: Likewise. * po/Makefile.in: Likewise. * include/c_std/std_cmath.h (_GLIBCXX_USE_C99): Replace with ... (_GLIBCXX_USE_C99_MATH): ... this. * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: XFAIL for arm-none-elf. * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Likewise. * testsuite/27_io/basic_istream/readsome/char/6476-2.cc: Likewise. * testsuite/27_io/objects/char/9.cc: Likewise. * testsuite/ext/stdio_filebuf/char/10063-2.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75209 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-12-23 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-12-231-22/+28
| | | | | | | | | | | | | | | | | | * include/ext/new_allocator.h (new_allocator): Proper allocator class. (__new_alloc): Delete. * include/ext/malloc_allocator.h (malloc_allocator): Same. (__malloc_alloc): Delete. * include/ext/mt_allocator.h: Same, but weakly. * include/ext/debug_allocator.h: Convert to the new style. * include/ext/pool_allocator.h: Use global new and delete directly. * include/backward/alloc.h: Don't inject malloc_allocator, or debug_allocator. * testsuite/ext/allocators.cc: Minimal fixups for usage of new classes. Comment out tests with __pool_alloc for now. * testsuite/performance/allocator.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74965 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-12-10 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-12-102-0/+111
| | | | | | | | | | PR libstdc++/10063 * config/io/basic_file_stdio.cc (__basic_file::sys_open): Sync. * testsuite/ext/stdio_filebuf/char/10063-1.cc: New. * testsuite/ext/stdio_filebuf/char/10063-2.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74505 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-12-06 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-12-072-6/+26
| | | | | | | | * testsuite/ext/enc_filebuf/char/13189.cc: Guard for __enc_traits. * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74380 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-12-05 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-12-0514-154/+468
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/13189 * include/ext/enc_filebuf.h: Fix. * include/bits/fstream.tcc: Tweak formatting. * include/bits/postypes.h: Same. * include/bits/sstream.tcc: Same. * include/bits/streambuf.tcc: Same. * testsuite/ext/stdio_filebuf.cc: Split. * testsuite/ext/stdio_filebuf_2.cc: Split. * testsuite/ext/stdio_sync_filebuf_char.cc: Split. * testsuite/ext/stdio_sync_filebuf_wchar_t.cc: Split. * testsuite/ext/enc_filebuf/char/13189.cc: New. * testsuite/ext/enc_filebuf/wchar_t/13189.cc: New. * testsuite/ext/stdio_filebuf/char/1.cc: New. * testsuite/ext/stdio_filebuf/char/2.cc: New. * testsuite/ext/stdio_sync_filebuf/char/1.cc: New. * testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: New. * testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: New. * testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: New. * testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: New. * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: New. * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-1.cc: New. * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-2.cc: New. * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-3.cc: New. * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-4.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74313 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-09-237-23/+24
| | | | | | | | | * include/bits/locale_facets.tcc: Tweak to avoid warnings. * testsuite/testsuite_hooks.h: Same. * testsuite/*/*.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71693 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-03 Petur Runolfsson <peturr02@ru.is>bkoz2003-09-032-2/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/12048 * include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::_M_unget_buf): Declare it. (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf. (stdio_sync_filebuf::uflow): Store the returned character in _M_unget_buf. (stdio_sync_filebuf::pbackfail): If argument is eof(), pass _M_unget_buf to syncungetc(). Set _M_unget_buf to eof(). (stdio_sync_filebuf<char>::xsgetn): Store last read character in _M_unget_buf, if any, else eof(). (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in _M_unget_buf, if any, else eof(). * testsuite/27_io/objects/char/12048.cc: Rename to... * testsuite/27_io/objects/char/12048-1.cc: ...this. * testsuite/27_io/objects/char/12048-2.cc: New test. * testsuite/27_io/objects/char/12048-3.cc: New test. * testsuite/27_io/objects/char/12048-4.cc: New test. * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL. * testsuite/27_io/objects/wchar_t/12048-1.cc: New test. * testsuite/27_io/objects/wchar_t/12048-2.cc: New test. * testsuite/27_io/objects/wchar_t/12048-3.cc: New test. * testsuite/27_io/objects/wchar_t/12048-4.cc: New test. * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL. * testsuite/ext/stdio_sync_filebuf_char.cc (test02, test03, test04, test05): New tests. * testsuite/ext/stdio_sync_filebuf_wchar_t.cc (test02, test03, test04, test05): New tests. 2003-09-03 Petur Runolfsson <peturr02@ru.is> * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on stringbuf or strstreambuf. Fix typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71026 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-07-281-1/+1
| | | | | | | | | * include/bits/char_traits.h: Update copyright, tweak. * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace std types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69883 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-07-251-2/+1
| | | | | | | | | * include/bits/char_traits.h: Update copyright, tweak. * testsuite/ext/pod_char_traits.cc: Explicitly qualifiy namespace std types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69791 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-07-241-1/+1
| | | | | | | * testsuite/*: Change __gnu_cxx_test to __gnu_test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69761 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-07-091-0/+78
| | | | | | | | | | | * testsuite/ext/pod_char_traits.cc: New. * include/ext/pod_char_traits.h: New. * include/Makefile.am (ext_headers): Add pod_char_traits.h. * include/Makefile.in: Regenerate. * docs/html/21_strings/howto.html: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69115 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move from CPP to CXX. * include/bits/c++config: Move to GLIBCXX from GLIBCPP. * testsuite/Makefile.am: Same. * testsuite/Makefile.in: Regenerate. * po/Makefile.am: Same. * po/Makefile.in: Regenerate. * libsupc++/Makefile.am: Same. * libsupc++/Makefile.in: Regenerate. * libmath/Makefile.am: Same. * libmath/Makefile.in: Regenerate. * include/Makefile.am: Same. * include/Makefile.in: Regenerate. * src/Makefile.am: Same. * src/Makefile.in: Regenerate. * acconfig.h: Same. * configure.host: Same. * configure.in: Same. * configure: Regenerate. * acinclude.m4: Same. * aclocal.m4: Same. * src: Change all files in this directory. * testsuite: Same. * include: Same, standardize include guards. * config: Same. * libsupc++: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68958 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-06-112-30/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/stl_alloc.h (__debug_alloc): Move out. (__malloc_alloc): Same. (__pool_alloc): Same. (__new_alloc): Same. Rename to.. * include/bits/allocator.h: ...this. * include/bits/stl_deque.h: Modify comment. * include/bits/stl_tree.h: Modify include. * include/std/std_memory.h: Same. * include/ext/rope: Same. * include/ext/slist: Same. * include/std/std_vector.h: Same. * include/std/std_stack.h: Same. * include/std/std_queue.h: Same. * include/std/std_list.h: Same. * include/std/std_deque.h: Same. * include/backward/alloc.h: Same. * include/ext/debug_allocator.h: New. * include/ext/malloc_allocator.h: New. * include/ext/pool_allocator.h: New. * include/ext/new_allocator.h: New. * include/bits/pthread_allocimpl.h: Remove. * include/bits/stl_pthread_alloc.h: Remove. * include/Makefile.am (ext_headers): Add. * include/Makefile.in: Regenerate. * src/stl-inst.cc: Use __gnu_cxx namespace. * src/stl-inst.cc: Move to... * src/allocator-inst.cc: Here. * src/Makefile.am (sources): Update. * src/Makefile.in: Regenerate. * config/linker-map.gnu: Remove __pool_alloc bits. * testsuite/ext/headers.cc: Add. * testsuite/ext/allocators.cc: Fixup. 2003-06-11 Stefan Olsson <stefan@snon.net> Ola R�nnerup <fnolis@home.se> * include/Makefile.am (ext_headers): Add. * include/Makefile.in: Regenerate. * include/ext/mt_allocator.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67777 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-15 Paolo Carlini <pcarlini@unitus.it>bkoz2003-05-151-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nathan Myers <ncm@cantrip.org> * include/bits/fstream.tcc (_M_overflow): Rewrote to call _M_convert_to_external only once (_M_buf_size is now the size of the put area + 1 for the overflow char of a full area); call _M_set_buffer instead of _M_set_indeterminate. (setbuf): Don't accept a buffer smaller than 2 chars. (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer, instead of _M_set_determinate. (open): Call _M_set_buffer, instead of _M_set_indeterminate. (seekoff): Likewise. * include/ext/stdio_filebuf.h (stdio_filebuf(int, std::ios_base::openmode, bool, size_t), stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t): Likewise. * include/std/std_fstream.h (_M_set_indeterminate): Remove. (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size -> _M_buf_size - 1. * include/std/std_streambuf.h: Tweak _M_out_lim comment. * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking into account that, for _M_buf_size == BUFSIZ == 8192, the size of the put area is now BUFSIZ - 1. * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account that now the smallest _M_buf_size is 2 (still fails, for the same reason, with 3.2.3) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66848 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-10 Petur Runolfsson <peturr02@ru.is>bkoz2003-05-112-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/9027 PR libstdc++/9520 PR libstdc++/10096 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic implementation, based on old wchar_t specialization, add support for codecvt::in() return value of codecvt_base::noconv, remove _M_file.sys_ungetc() call. * include/std/std_fstream.h (basic_file::underflow, basic_file::uflow, basic_file::_M_underflow): Remove specialization declarations, call _M_underflow from generic versions of underflow and uflow. * src/fstream.cc (basic_file::underflow, basic_file::uflow, basic_file::_M_underflow): Remove specializations. * src/Makefile.am (sources): Remove fstream.cc. * src/Makefile.in: Regenerated. * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test. * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test. * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test. * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test. 2003-05-10 Benjamin Kosnik <bkoz@redhat.com> * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack buffer. * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove unbuffered bits. (__basic_file::xsputn): Same. (__basic_file::seekoff): Same. (__basic_file::seekpos): Same. (__basic_file::showmanyc): Same. * config/io/basic_file_stdio.cc: Same. * include/std/std_fstream.h: Same. * include/bits/fstream.tcc: Same. * src/fstream.cc: Same. * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy. 2003-05-10 Petur Runolfsson <peturr02@ru.is> PR libstdc++/9520 PR libstdc++/9661 PR libstdc++/9662 * include/ext/stdio_sync_filebuf.h: New file. (basic_stdiobuf): New. * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h * include/Makefile.in: Regenerate. * include/bits/ios_base.h (Init::_S_create_buffers, Init::_S_destroy_buffers): Remove declarations. * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync, buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define. * src/ios.cc (Init::_S_create_buffers, Init::_S_destroy_buffers): Remove. (Init::Init): Create and use syncronized buffers. (ios_base::sync_with_stdio): Destroy syncronized buffers, create and install unsyncronized buffers. * testsuite/27_io/objects/char/10.cc: New test. * testsuite/27_io/objects/char/9.cc: New test. * testsuite/27_io/objects/char/9661-1.cc: New test. * testsuite/27_io/objects/char/9661-2_xin.cc: New test. * testsuite/27_io/objects/char/9661-2_xin.in: New. * testsuite/27_io/objects/wchar_t/1.cc: New test. * testsuite/27_io/objects/wchar_t/10.cc: New test. * testsuite/27_io/objects/wchar_t/2.cc: New test. * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test. * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New. * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test. * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New. * testsuite/27_io/objects/wchar_t/3045.cc: New test. * testsuite/27_io/objects/wchar_t/3647.cc: New test. * testsuite/27_io/objects/wchar_t/3_xin.cc: New test. * testsuite/27_io/objects/wchar_t/3_xin.in: New. * testsuite/27_io/objects/wchar_t/4_xin.cc: New test. * testsuite/27_io/objects/wchar_t/4_xin.in: New. * testsuite/27_io/objects/wchar_t/5.cc: New test. * testsuite/27_io/objects/wchar_t/5268.cc: New test. * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test. * testsuite/27_io/objects/wchar_t/5280_xin.in: New. * testsuite/27_io/objects/wchar_t/6.cc: New test. * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test. * testsuite/27_io/objects/wchar_t/6548_xin.in: New. * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test. * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New. * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test. * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New. * testsuite/27_io/objects/wchar_t/7.cc: New test. * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test. * testsuite/27_io/objects/wchar_t/7744_xin.in: New. * testsuite/27_io/objects/wchar_t/8.cc: New test. * testsuite/27_io/objects/wchar_t/9_xin.cc: New test. * testsuite/27_io/objects/wchar_t/9_xin.in: New. * testsuite/27_io/objects/wchar_t/9520.cc: New test. * testsuite/27_io/objects/wchar_t/9661-1.cc: New test. * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test. * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New. * testsuite/27_io/objects/wchar_t/9662.cc: New test. * testsuite/ext/stdiobuf_char.cc: New test. * testsuite/ext/stdiobuf_wchar_t.cc: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66678 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>paolo2003-04-121-0/+61
| | | | | | | | | | | | | | | * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t), stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t): _M_buf_size_opt == 0 means only "not to use an allocated buffer" since a stack-based buffer is used for small values of the size_t parameter. * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow). If _M_buf_size != 0 flush out the buffer (any kind, stack-based too). * testsuite/ext/stdio_filebuf_2.cc: New testfile. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65513 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Paolo Carlini <pcarlini@unitus.it>paolo2003-02-111-0/+36
| | | | | | | | | | | | | | | PR libstdc++/9320 * include/ext/stdio_filebuf.h (stdio_filebuf(int, std::ios_base::openmode, bool, int_type), stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)): Change to take a __size parameter of type size_t, not of type (template parameter dependent) int_type. * src/ios.cc (ios_base::Init::_S_ios_create): Change type of size vars to size_t. * testsuite/ext/stdio_filebuf.cc: Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62691 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-01-231-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | * configure.in (libtool_VERSION): To 6:0:0. * configure: Regenerated. * config/linker-map.gnu: Clean. * src/misc-inst.cc: Remove instantiations. * include/bits/stl_alloc.h (__malloc_alloc_template): To __malloc_alloc. (__default_alloc_template): To __pool_alloc. * src/stl-inst.cc: Same. * include/backward/alloc.h: Update. * testsuite/ext/allocators.cc: Update. * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should really try to remove these if possible. * src/locale.cc (std): Same. * testsuite/abi_check.cc (check_version): Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61658 138bc75d-0d04-0410-961f-82ee72b054a4
* * docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Documentljrittle2002-10-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | new environment variable which replaces all uses of __USE_MALLOC macro. * docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise. (__mem_interface): Remove all references to old internal typedef. * include/backward/alloc.h (__USE_MALLOC): Remove it and all guarded code. * include/bits/c++config (__USE_MALLOC): Update related error message and comment. * include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all guarded code. Update all related comments. (__mem_interface): Unconditionally replace it with __new_alloc. However, leave the typedef around in case anyone used it. (__default_alloc_template<>::_S_force_new): New class static. (__default_alloc_template<>::allocate, deallocate): Add run-time controlled feature similar to what __USE_MALLOC code path had provided. * src/stl-inst.cc (__USE_MALLOC): Remove it and all guarded code. * testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC. Add documentation on GLIBCPP_FORCE_NEW environment variable. * testsuite/ext/allocators.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58286 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-03 Steev Wilcox <steev@paradigmds.com>bkoz2002-07-041-0/+102
| | | | | | | | | PR libstdc++/7057 * include/ext/stl_hashtable.h: Fix. * testsuite/ext/hash_map.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55229 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>paolo2002-04-281-0/+39
| | | | | | | | | | | | * include/ext/stl_hashtable.h: Import __iterator_category 2002-04-28 Paolo Carlini <pcarlini@unitus.it> Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> * testsuite/ext/hash_set.cc: New testfile. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52843 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-04 Paolo Carlini <pcarlini@unitus.it>paolo2002-01-041-0/+1
| | | | | | | | | | | | | | | | * include/bits/stl_tree.h (rb_tree): Move to... * include/ext/rb_tree: ...here, new file. * include/Makefile.am (ext_headers): Add new file. * include/Makefile.in: Regenerate. * include/bits/stl_tempbuf.h (get_temporary_buffer + helper, return_temporary_buffer, struct temporary_buffer): Move to... * include/ext/memory: ...here. * testsuite/ext/headers.cc: Include <ext/rb_tree>. * include/backward/tempbuf.h: Include <ext/memory>, tweak. * include/backward/tree.h: Include <ext/rb_tree), tweak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48538 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-02 Paolo Carlini <pcarlini@unitus.it>paolo2002-01-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | * include/bits/stl_numeric.h (power + helpers, iota): Move to... * include/ext/numeric: ...here, new file. * include/bits/stl_function.h (identity_element, unary_compose, binary_compose, compose1, compose2, identity, select1st, select2nd, project1st + helper, project2nd + helper, constant_void_fun + helper, constant_unary_fun + helper, costant_binary_fun + helper, constant0, constant1, constant2, subtractive_rng, mem_fun1, mem_fun1_ref): Move to... * include/ext/functional: ...here, new file. * include/Makefile.am (ext_headers): Add new files. * include/Makefile.in: Regenerate. * testsuite/ext/headers.cc: Include <ext/numeric> and <ext/functional>. * include/backward/algo.h: Include <ext/numeric>, tweak. * include/backward/function.h: Include <ext/functional>, tweak. * include/ext/ropeimpl.h: Include <ext/numeric>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48519 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-02 Phil Edwards <pme@gcc.gnu.org>pme2002-01-031-2/+10
| | | | | | | | | * include/bits/stl_algo.h (upper_bound, equal_range, binary_search): Change concept checks, as with lower_bound and PR 2054. * testsuite/ext/concept_checks.cc: Expand test to include those. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48492 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-02 Paolo Carlini <pcarlini@unitus.it>paolo2002-01-021-0/+1
| | | | | | | | | | | | | | | | | | | * include/bits/stl_algobase.h (copy_n + helpers, lexicographical_compare_3way + helpers): Move to... * include/ext/algorithm: ...here. * include/bits/stl_uninitialized.h (uninitialized_copy_n + helpers): Move to... * include/ext/memory: ...here, new file. * include/Makefile.am (ext_headers): Add new file. * include/Makefile.in: Regenerate. * testsuite/ext/headers.cc: Include <ext/memory>. * include/backward/algobase.h: Include <ext/memory> and <ext/algorithm>, tweak. * include/ext/ropeimpl.h: Include <ext/memory>, tweak. * include/ext/stl_rope.h: Include <ext/memory>, tweak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48467 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-31 Paolo Carlini <pcarlini@unitus.it>paolo2001-12-311-0/+1
| | | | | | | | * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak. * testsuite/ext/headers.cc: Add <ext/iterator>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48430 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-31 Paolo Carlini <pcarlini@unitus.it>paolo2001-12-311-1/+1
| | | | | | | | | | | | | | | * include/ext/hash_map: Move into __gnu_cxx, tweak, add using declarations. * include/ext/hash_set: Ditto. * include/ext/ropeimpl.h: Ditto. * include/ext/stl_hash_fun.h: Ditto. * include/ext/stl_hashtable.h: Ditto. * include/ext/stl_rope.h: Ditto. * src/ext-inst.cc: Tweak. * testsuite/ext/rope.cc: Tweak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48422 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-28 Phil Edwards <pme@gcc.gnu.org>pme2001-12-281-0/+76
| | | | | | | | | PR libstdc++/2054 * include/bits/stl_algo.h (lower_bound): Relax concept checks. * testsuite/ext/concept_checks.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48351 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-28 Paolo Carlini <pcarlini@unitus.it>paolo2001-12-281-0/+1
| | | | | | | | | | | | | * include/bits/stl_algo.h (count returning void, count_if returning void, __random_sample, random_sample, random_sample_n, __is_heap, is_heap, is_sorted): Move to... * include/ext/algorithm: ...here, new file. * include/Makefile.am (ext_headers): Add new file. * include/Makefile.in: Regenerate. * testsuite/ext/headers.cc: Include <ext/algorithm>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48350 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-11 Phil Edwards <pme@gcc.gnu.org>pme2001-12-111-0/+103
| | | | | | | * testsuite/ext/allocators.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47888 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/stl_threads.h (_Atomic_swap): New function.ljrittle2001-10-031-0/+38
| | | | | | | | (_Swap_lock_struct<__dummy>::_S_swap_lock): New data. * testsuite/ext/rope.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45999 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud