PR libstdc++/21772 part 1
authorBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 16 Dec 2009 05:16:46 +0000 (05:16 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 16 Dec 2009 05:16:46 +0000 (05:16 +0000)
commit861de21eb294a9d1d2602d4239edfc4a5239a9c9
treef1aa6ebcc1aeff3911a0c56d9fdaffa8e4cc3963
parentc7d9f803bb64218c45b7e85a9a1e0e143c025205
PR libstdc++/21772 part 1

2009-12-15  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/21772 part 1
* include/ext/throw_allocator.h: Rework.
(__gnu_cxx::throw_allocator): To...
(__gnu_cxx::throw_allocator_limit): ...this.
(__gnu_cxx::throw_allocator_random): ...and this.
(throw_value_base, throw_value_limit, throw_value_random): Add.
(condition_base, random_condition, limit_condition): Add.
(forced_exception_error): To...
(forced_error): ...this.
* testsuite/ext/throw_value: New.
* testsuite/ext/throw_value/cons.cc: New.
* testsuite/ext/throw_allocator/deallocate_global.cc: Adjust for
throw_allocator, forced_exception_error changes.
* 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/variadic_construct.cc: Same.
* testsuite/ext/throw_allocator/deallocate_local.cc: Same.
* testsuite/23_containers/list/modifiers/insert/25288.cc: Same.
* testsuite/23_containers/list/modifiers/insert/25288.h: Same.
* testsuite/util/regression/common_type.hpp: Same.
* testsuite/util/regression/rand/priority_queue/
container_rand_regression_test.tcc: Same.
* testsuite/util/regression/rand/assoc/
container_rand_regression_test.h: Same.
* testsuite/util/regression/rand/assoc/
container_rand_regression_test.tcc: Same.
* testsuite/util/regression/basic_type.hpp: Same.

* testsuite/ext/forced_exception_error/cons_virtual_derivation.cc: To...
* testsuite/ext/forced_error/cons_virtual_derivation.cc: ...this, same.

From-SVN: r155283
20 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/throw_allocator.h
libstdc++-v3/testsuite/23_containers/list/modifiers/insert/25288.cc
libstdc++-v3/testsuite/23_containers/list/modifiers/insert/25288.h
libstdc++-v3/testsuite/ext/forced_error/cons_virtual_derivation.cc [new file with mode: 0644]
libstdc++-v3/testsuite/ext/forced_exception_error/cons_virtual_derivation.cc [deleted file]
libstdc++-v3/testsuite/ext/throw_allocator/check_allocate_max_size.cc
libstdc++-v3/testsuite/ext/throw_allocator/check_deallocate_null.cc
libstdc++-v3/testsuite/ext/throw_allocator/check_delete.cc
libstdc++-v3/testsuite/ext/throw_allocator/check_new.cc
libstdc++-v3/testsuite/ext/throw_allocator/deallocate_global.cc
libstdc++-v3/testsuite/ext/throw_allocator/deallocate_local.cc
libstdc++-v3/testsuite/ext/throw_allocator/explicit_instantiation.cc
libstdc++-v3/testsuite/ext/throw_allocator/variadic_construct.cc
libstdc++-v3/testsuite/ext/throw_value/cons.cc [new file with mode: 0644]
libstdc++-v3/testsuite/util/regression/basic_type.hpp
libstdc++-v3/testsuite/util/regression/common_type.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/container_rand_regression_test.h
libstdc++-v3/testsuite/util/regression/rand/assoc/container_rand_regression_test.tcc
libstdc++-v3/testsuite/util/regression/rand/priority_queue/container_rand_regression_test.tcc