This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/21772] exception safety testing



------- Comment #11 from bkoz at gcc dot gnu dot org  2009-12-16 05:17 -------
Subject: Bug 21772

Author: bkoz
Date: Wed Dec 16 05:16:46 2009
New Revision: 155283

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155283
Log:
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.


Added:
    trunk/libstdc++-v3/testsuite/ext/forced_error/
      - copied from r155276,
trunk/libstdc++-v3/testsuite/ext/forced_exception_error/
    trunk/libstdc++-v3/testsuite/ext/throw_value/
    trunk/libstdc++-v3/testsuite/ext/throw_value/cons.cc
Removed:
    trunk/libstdc++-v3/testsuite/ext/forced_exception_error/
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/ext/throw_allocator.h
    trunk/libstdc++-v3/testsuite/23_containers/list/modifiers/insert/25288.cc
    trunk/libstdc++-v3/testsuite/23_containers/list/modifiers/insert/25288.h
    trunk/libstdc++-v3/testsuite/ext/forced_error/cons_virtual_derivation.cc
    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
    trunk/libstdc++-v3/testsuite/ext/throw_allocator/variadic_construct.cc
    trunk/libstdc++-v3/testsuite/util/regression/basic_type.hpp
    trunk/libstdc++-v3/testsuite/util/regression/common_type.hpp
   
trunk/libstdc++-v3/testsuite/util/regression/rand/assoc/container_rand_regression_test.h
   
trunk/libstdc++-v3/testsuite/util/regression/rand/assoc/container_rand_regression_test.tcc
   
trunk/libstdc++-v3/testsuite/util/regression/rand/priority_queue/container_rand_regression_test.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21772


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]