summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/ChangeLog
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-06 04:22:42 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-06 04:22:42 +0000
commitf05fc0af2354a187ef812ad910f82ee829fcf326 (patch)
tree337086b8283d037310840150a3c1b468e056007b /libstdc++-v3/ChangeLog
parent09d17c347e5c194b33ef80023b59db5915a2ca89 (diff)
downloadppe42-gcc-f05fc0af2354a187ef812ad910f82ee829fcf326.tar.gz
ppe42-gcc-f05fc0af2354a187ef812ad910f82ee829fcf326.zip
2004-10-05 Benjamin Kosnik <bkoz@redhat.com>
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
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r--libstdc++-v3/ChangeLog41
1 files changed, 41 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index a7a9964025b..e26f127670e 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,44 @@
+2004-10-05 Benjamin Kosnik <bkoz@redhat.com>
+
+ 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.
+
2004-10-05 Ulrich Weigand <uweigand@de.ibm.com>
* configure.host (abi_baseline_pair): Define for s390-*-linux* and
OpenPOWER on IntegriCloud