mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-22 20:36:20 +08:00
5d1b2a1e42
2004-10-14 Benjamin Kosnik <bkoz@redhat.com> * include/ext/mt_allocator.h (__mt_alloc::deallocate): Check for null pointer. * include/ext/pool_allocator.h (debug_allocator::deallocate): Check pointer value. * include/ext/debug_allocator.h (debug_allocator::deallocate): Throw exceptions, don't abort. * include/ext/array_allocator.h (array_allocator_base::deallocate): Remove unused parameters. * testsuite/testsuite_allocator.h (check_deallocate_null): New. * testsuite/ext/mt_allocator/check_deallocate_null.cc: New. * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: New. * testsuite/ext/array_allocator/check_deallocate_null.cc: New. * testsuite/ext/debug_allocator/check_deallocate_null.cc: New. * testsuite/ext/malloc_allocator/check_deallocate_null.cc: New. * testsuite/ext/new_allocator/check_deallocate_null.cc: New. * testsuite/ext/pool_allocator/check_deallocate_null.cc: New. * testsuite/testsuite_allocator.h (check_new): Add instance argument. * testsuite/ext/array_allocator/check_new.cc: New. From-SVN: r89060 |
||
---|---|---|
.. | ||
17_intro | ||
18_support | ||
19_diagnostics | ||
20_util | ||
21_strings | ||
22_locale | ||
23_containers | ||
24_iterators | ||
25_algorithms | ||
26_numerics | ||
27_io | ||
backward | ||
config | ||
data | ||
demangle | ||
ext | ||
lib | ||
libstdc++-dg | ||
performance | ||
thread | ||
abi_check.cc | ||
Makefile.am | ||
Makefile.in | ||
printnow.c | ||
testsuite_abi.cc | ||
testsuite_abi.h | ||
testsuite_allocator.cc | ||
testsuite_allocator.h | ||
testsuite_character.h | ||
testsuite_hooks.cc | ||
testsuite_hooks.h | ||
testsuite_io.h | ||
testsuite_performance.h |