gcc/libstdc++-v3/include/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
..
pb_ds re PR other/28145 (C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)) 2007-05-07 17:27:54 -04:00
algorithm stl_algobase.h: Do not include <cstring>. 2007-05-07 20:36:40 +00:00
array_allocator.h
atomicity.h
bitmap_allocator.h
codecvt_specializations.h enc_filebuf.h: Resurrect, update. 2007-01-29 18:22:37 +00:00
concurrence.h concurrence.h: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_*. 2007-05-24 22:18:07 +00:00
debug_allocator.h
enc_filebuf.h enc_filebuf.h: Resurrect, update. 2007-01-29 18:22:37 +00:00
functional PR libstdc++/28080 (partial) 2007-02-26 09:36:39 +00:00
hash_fun.h
hash_map
hash_set
hashtable.h
iterator
malloc_allocator.h cc_hash_max_collision_check_resize_trigger_imp.hpp: Qualify namespace std members. 2007-04-11 01:11:56 +00:00
memory
mt_allocator.h
new_allocator.h
numeric
numeric_traits.h numeric_traits.h: Do not include <limits>. 2007-04-13 10:54:37 +00:00
pod_char_traits.h pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
pool_allocator.h re PR libstdc++/31777 (GLIBCXX_FORCE_NEW doesn't always work in pool_allocator) 2007-05-02 18:37:00 +00:00
rb_tree
rc_string_base.h DR 438, [DR]. 2007-04-27 22:59:36 +00:00
rope stl_construct.h (_Destroy(_ForwardIterator, _ForwardIterator __last, _Allocator)): Change the last parameter to _Allocator&. 2007-05-04 15:06:46 +00:00
ropeimpl.h stl_construct.h (_Destroy(_ForwardIterator, _ForwardIterator __last, _Allocator)): Change the last parameter to _Allocator&. 2007-05-04 15:06:46 +00:00
slist
sso_string_base.h DR 438, [DR]. 2007-04-27 22:59:36 +00:00
stdio_filebuf.h
stdio_sync_filebuf.h PR libstdc++/28080 (final) 2007-03-11 12:03:34 +00:00
throw_allocator.h throw_allocator.h (__throw_allocator::allocate): Throw bad_alloc for out of memory conditions. 2007-06-01 10:09:40 +00:00
type_traits.h re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
typelist.h
vstring_fwd.h PR libstdc++/28080 (partial) 2007-02-18 11:32:44 +00:00
vstring_util.h numeric_traits.h: Do not include <limits>. 2007-04-13 10:54:37 +00:00
vstring.h PR libstdc++/28277 (partial: vstring bits) 2007-04-10 10:38:50 +00:00
vstring.tcc cxxabi-internal.h: Remove, to be replaced by... 2007-05-08 02:50:32 -04:00