gcc/libstdc++-v3/testsuite/util
Paul Pluzhnikov 9779c871af Print additional info when various out-of-range conditions are detected.
2013-09-21  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* include/bits/functexcept.h (__throw_out_of_range_fmt): New.
	* src/c++11/functexcept.cc (__throw_out_of_range_fmt): New.
	* src/c++11/snprintf_lite.cc: New.
	* src/c++11/Makefile.am: Add snprintf_lite.cc.
	* src/c++11/Makefile.in: Regenerate.
	* config/abi/pre/gnu.ver: Add _ZSt24__throw_out_of_range_fmtPKcz.
	* include/std/array (at): Use __throw_out_of_range_fmt.
	* include/debug/array (at): Likewise.
	* include/profile/array (at): Likewise.
	* include/std/bitset (_M_check_initial_position, _M_check): New.
	(bitset::bitset): Use _M_check_initial_position.
	(set, reset, flip, test): Use _M_check.
	* include/ext/vstring.h (_M_check, at): Use __throw_out_of_range_fmt.
	* include/bits/stl_vector.h (_M_range_check): Likewise.
	* include/bits/stl_bvector.h (_M_range_check): Likewise.
	* include/bits/stl_deque.h (_M_range_check): Likewise.
	* include/bits/basic_string.h (_M_check, at): Likewise.
	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Adjust.
	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise.
	* testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc:
	Likewise.
	* testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc:
	Likewise.
	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Likewise.
	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise.
	* testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
	Likewise.
	* testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
	Likewise.
	* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: Likewise.
	* testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc:
	Likewise.
	* testsuite/23_containers/array/tuple_interface/get_neg.cc: Likewise.
	* testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Likewise.
	* testsuite/util/exception/safety.h (generate): Use __throw_out_of_range_fmt.

From-SVN: r202818
2013-09-21 19:04:13 -07:00
..
common_type
debug re PR libstdc++/57779 (vector insert fails to diagnose iterators pointing into *this in debug mode) 2013-08-01 19:54:46 +00:00
exception Print additional info when various out-of-range conditions are detected. 2013-09-21 19:04:13 -07:00
hash_fn
io
native_type
performance
regression
statistic
thread
replacement_memory_operators.h
testsuite_abi_check.cc
testsuite_abi.cc chrono.cc: If _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, include unistd.h and sys/syscall.h. 2013-05-24 20:08:42 +02:00
testsuite_abi.h
testsuite_allocator.cc
testsuite_allocator.h re PR libstdc++/57263 (std::set with user-defined allocator - compile error) 2013-06-16 18:13:34 +01:00
testsuite_api.h
testsuite_character.cc
testsuite_character.h
testsuite_common_types.h atomic (compare_exchange_weak, [...]): Add call to __cmpexch_failure_order. 2013-07-29 17:13:05 +00:00
testsuite_container_traits.h
testsuite_containers.h c++config (_GLIBCXX_ABI_TAG_CXX11): Add. 2013-06-10 23:11:05 +00:00
testsuite_counter_type.h
testsuite_error.h
testsuite_greedy_ops.h
testsuite_hooks.cc
testsuite_hooks.h
testsuite_io.h
testsuite_iterators.h stl_algo.h (is_permutation): Add overloads from N3671. 2013-06-08 17:12:13 +01:00
testsuite_performance.h forced.C: Extend current handling of Linux-based x86 systems to cover all GNU systems. 2013-06-10 09:21:29 +02:00
testsuite_random.h
testsuite_regex.h
testsuite_rng.h
testsuite_rvalref.h
testsuite_shared.cc c++config (_GLIBCXX_ABI_TAG_CXX11): Add. 2013-06-10 23:11:05 +00:00
testsuite_tr1.h