gcc/libstdc++-v3/testsuite/20_util
Paolo Carlini f4c5578ffb PR c++/32158 (libstdc++ bits)
2007-05-31  Paolo Carlini  <pcarlini@suse.de>

	PR c++/32158 (libstdc++ bits)
	* include/bits/stl_uninitialized.h (__uninitialized_copy_aux,
	__uninitialized_fill_aux, __uninitialized_fill_n_aux):
	Remove.
	(struct __uninitialized_copy, struct __uninitialized_fill,
	struct __uninitialized_fill_n): Add.
	(uninitialized_copy, uninitialized_fill, uninitialized_fill_n):
	Adjust.
	* testsuite/20_util/specialized_algorithms/32158.cc: New.

	* include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
	_InputIterator, _ForwardIterator)): Robustify vs non-POD input.

	* include/bits/stl_vector.h (_M_fill_initialize): New.
	(vector(size_type, const value_type&, const allocator_type&),
	_M_initialize_dispatch(_Integer, _Integer, __true_type)): Use it.
	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
	Adjust dg-error line.
	* 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.

From-SVN: r125223
2007-05-31 11:13:57 +00:00
..
allocator
auto_ptr stl_memory.h: Rename to stl_auto_ptr.h. 2007-05-04 18:07:10 +00:00
conditional/requirements
decay/requirements
enable_if/requirements
enable_shared_from_this/requirements
function_objects
has_nothrow_copy_constructor
has_nothrow_default_constructor
has_trivial_copy_constructor
has_trivial_default_constructor
headers type_traits: (make_signed, make_unsigned): Adjust for enum sizes. 2007-05-07 15:29:57 +00:00
make_signed/requirements acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function to the test code compiled with -ffunction-sections -fdata-sections. 2007-05-16 16:47:47 +00:00
make_unsigned/requirements acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function to the test code compiled with -ffunction-sections -fdata-sections. 2007-05-16 16:47:47 +00:00
pair
raw_storage_iterator/requirements
shared_ptr/requirements
specialized_algorithms PR c++/32158 (libstdc++ bits) 2007-05-31 11:13:57 +00:00
tuple/requirements
weak_ptr/requirements
rel_ops.cc
temporary_buffer.cc