gcc/libstdc++-v3/testsuite/23_containers/vector
Paolo Carlini 996e539545 vector.tcc (_M_insert_aux, [...]): Check at the outset that we are not trying to exceed max_size...
2004-10-21  Paolo Carlini  <pcarlini@suse.de>
	    Dhruv Matani  <dhruvbird@gmx.net>
	    Nathan Myers  <ncm@cantrip.org>

	* include/bits/vector.tcc (_M_insert_aux, _M_fill_insert,
	_M_range_insert): Check at the outset that we are not trying
	to exceed max_size, then deal properly with __len overflows.
	* testsuite/23_containers/vector/modifiers/insert/1.cc: New.

	* testsuite/testsuite_allocator.h: Remove redundant include.

Co-Authored-By: Dhruv Matani <dhruvbird@gmx.net>
Co-Authored-By: Nathan Myers <ncm@cantrip.org>

From-SVN: r89377
2004-10-21 14:53:02 +00:00
..
bool c++config (_GLIBCXX_STD): New. 2004-04-16 19:04:07 +00:00
capacity 1.cc: Provide explicit instantiations for non-weak systems. 2004-03-04 18:11:08 +00:00
cons testsuite_hooks.h (func_callback): Declare copy constructor and assignment operator private. 2004-05-22 21:51:07 +00:00
element_access 1.cc: Provide explicit instantiations for non-weak systems. 2004-03-04 18:11:08 +00:00
invalidation 1.cc: Test result string. 2004-03-04 23:37:24 +00:00
modifiers vector.tcc (_M_insert_aux, [...]): Check at the outset that we are not trying to exceed max_size... 2004-10-21 14:53:02 +00:00
resize testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to CXXFLAGS_save. 2004-03-04 23:29:44 +00:00
1.cc Tests for user specialization of standard containers. 2003-07-31 22:23:38 +00:00
14340.cc [multiple changes] 2004-05-18 03:27:57 +00:00
check_construct_destroy.cc stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00
explicit_instantiation.cc re PR libstdc++/16844 (Explicit instantiation failing) 2004-08-02 04:40:19 +00:00