gcc/libstdc++-v3/testsuite/23_containers/vector/modifiers
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
..
insert 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
1.cc 1.cc: Provide explicit instantiations for non-weak systems. 2004-03-04 18:11:08 +00:00
2.cc 1.cc: Provide explicit instantiations for non-weak systems. 2004-03-04 18:11:08 +00:00
swap.cc swap.cc: Add in bits for non-weak systems. 2004-03-10 06:31:50 +00:00