This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r125261 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: bkoz at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 01 Jun 2007 10:09:41 -0000
- Subject: r125261 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: bkoz
Date: Fri Jun 1 10:09:40 2007
New Revision: 125261
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125261
Log:
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.
Added:
trunk/libstdc++-v3/testsuite/ext/throw_allocator/
trunk/libstdc++-v3/testsuite/ext/throw_allocator/check_allocate_max_size.cc
trunk/libstdc++-v3/testsuite/ext/throw_allocator/check_deallocate_null.cc
trunk/libstdc++-v3/testsuite/ext/throw_allocator/check_delete.cc
trunk/libstdc++-v3/testsuite/ext/throw_allocator/check_new.cc
trunk/libstdc++-v3/testsuite/ext/throw_allocator/deallocate_global.cc
trunk/libstdc++-v3/testsuite/ext/throw_allocator/deallocate_local.cc
trunk/libstdc++-v3/testsuite/ext/throw_allocator/explicit_instantiation.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/ext/throw_allocator.h