gcc/libstdc++-v3/testsuite/ext
Benjamin Kosnik b8637750d3 throw_allocator.h (__throw_allocator::allocate): Throw bad_alloc for out of 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-06-01 10:09:40 +00:00
..
array_allocator re PR libstdc++/26875 (Array allocator use count is shared between array_allocator instances) 2006-04-26 19:52:31 +00:00
bitmap_allocator All files: Update FSF address. 2005-08-17 02:28:44 +00:00
codecvt 11.cc: Include <cstring>. 2007-05-11 00:55:17 +00:00
debug_allocator [multiple changes] 2007-02-20 18:15:01 +00:00
enc_filebuf enc_filebuf.h: Resurrect, update. 2007-01-29 18:22:37 +00:00
hash_map [multiple changes] 2007-02-20 18:15:01 +00:00
hash_set [multiple changes] 2007-02-20 18:15:01 +00:00
is_heap All files: Update FSF address. 2005-08-17 02:28:44 +00:00
malloc_allocator [multiple changes] 2007-02-20 18:15:01 +00:00
mt_allocator [multiple changes] 2007-02-20 18:15:01 +00:00
new_allocator 9661-1.cc: Include <cstdlib>. 2007-03-02 18:11:15 +00:00
numeric_traits type_traits.h (__numeric_traits): Move... 2007-04-06 14:52:27 +00:00
pb_ds 9661-1.cc: Include <cstdlib>. 2007-03-02 18:11:15 +00:00
pool_allocator [multiple changes] 2007-02-20 18:15:01 +00:00
rope All files: Update FSF address. 2005-08-17 02:28:44 +00:00
slist [multiple changes] 2007-02-20 18:15:01 +00:00
stdio_filebuf 11.cc: Include <cstring>. 2007-05-11 00:55:17 +00:00
stdio_sync_filebuf 11.cc: Include <cstring>. 2007-05-11 00:55:17 +00:00
throw_allocator throw_allocator.h (__throw_allocator::allocate): Throw bad_alloc for out of memory conditions. 2007-06-01 10:09:40 +00:00
type_traits type_traits.h (__numeric_traits): Move... 2007-04-06 14:52:27 +00:00
vstring DR 438, [DR]. 2007-04-27 22:59:36 +00:00
concept_checks.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
headers.cc [multiple changes] 2007-02-20 18:15:01 +00:00
median.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
pod_char_traits.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00