gcc/libstdc++-v3/testsuite
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
..
17_intro aclocal.m4: Regenerate. 2007-05-29 14:22:40 +00:00
18_support types_std_c++0x.cc: Use -std=gnu++0x instead of -std=c++0x for testing. 2007-03-16 19:44:00 +00:00
19_diagnostics pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
20_util re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
21_strings typedefs.cc: Fix dg bits. 2007-05-17 12:01:43 +00:00
22_locale acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function to the test code compiled with -ffunction-sections -fdata-sections. 2007-05-16 16:47:47 +00:00
23_containers PR c++/32158 (libstdc++ bits) 2007-05-31 11:13:57 +00:00
24_iterators
25_algorithms 11.cc: Include <cstring>. 2007-05-11 00:55:17 +00:00
26_numerics cmath: Guard special math with __GXX_EXPERIMENTAL_CXX0X__. 2007-05-17 11:37:27 +00:00
27_io 11.cc: Include <cstring>. 2007-05-11 00:55:17 +00:00
28_regex/headers/regex acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Add c_global. 2007-03-04 22:59:49 +00:00
abi
backward
config
data
ext throw_allocator.h (__throw_allocator::allocate): Throw bad_alloc for out of memory conditions. 2007-06-01 10:09:40 +00:00
lib cxxabi.h (_GLIBCXX_NOTHROW): New macro. 2007-05-09 05:21:36 +00:00
libstdc++-abi
libstdc++-dg
performance 9661-1.cc: Include <cstdlib>. 2007-03-02 18:11:15 +00:00
thread 9661-1.cc: Include <cstdlib>. 2007-03-02 18:11:15 +00:00
tr1 re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
util c_locale.h (__convert_from_v): Only switch to the "C" locale if the current one isn't already "C" (for old glibcs). 2007-05-24 14:49:45 +00:00
Makefile.am
Makefile.in ltmain.sh: Update from ToT Libtool. 2007-05-24 16:37:27 +00:00