gcc/libstdc++-v3/include/bits
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.h allocator.h: Do not include cpp_type_traits.h. 2007-05-14 14:47:39 +00:00
basic_ios.h localefwd.h: Remove redundant inline qualifiers. 2007-04-29 16:06:09 +00:00
basic_ios.tcc localefwd.h: Remove redundant inline qualifiers. 2007-04-29 16:06:09 +00:00
basic_string.h DR 438, [DR]. 2007-04-27 22:59:36 +00:00
basic_string.tcc cxxabi-internal.h: Remove, to be replaced by... 2007-05-08 02:50:32 -04:00
boost_concept_check.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
c++config cc_hash_max_collision_check_resize_trigger_imp.hpp: Qualify namespace std members. 2007-04-11 01:11:56 +00:00
char_traits.h pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
codecvt.h pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
concept_check.h
cpp_type_traits.h re PR c++/26099 (support for type traits is not available) 2007-03-30 19:45:57 +00:00
deque.tcc deque.tcc (deque<>::erase(iterator, iterator)): Fix condition. 2007-01-24 23:52:37 +00:00
fstream.tcc pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
functexcept.h
gslice_array.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
gslice.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
indirect_array.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
ios_base.h locale_classes.h: Remove redundant inline specifiers. 2007-04-25 09:25:05 +00:00
istream.tcc cxxabi-internal.h: Remove, to be replaced by... 2007-05-08 02:50:32 -04:00
list.tcc re PR libstdc++/17012 ([DR 526] std::list's function, remove, looks like it is reading memory that has been freed.) 2007-02-09 01:00:25 +00:00
locale_classes.h pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
locale_classes.tcc locale_facets.h (class collate, [...]): Move... 2007-04-24 18:57:12 +00:00
locale_facets_nonio.h pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
locale_facets_nonio.tcc locale_facets.h (class collate, [...]): Move... 2007-04-24 18:57:12 +00:00
locale_facets.h pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
locale_facets.tcc locale_facets.tcc (__pad<>::_S_pad): Minor tweaks, avoid unnecessary casts, do widenings just in time. 2007-05-17 09:01:27 +00:00
localefwd.h localefwd.h: Remove redundant inline qualifiers. 2007-04-29 16:06:09 +00:00
mask_array.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
ostream_insert.h cxxabi-internal.h: Remove, to be replaced by... 2007-05-08 02:50:32 -04:00
ostream.tcc cxxabi-internal.h: Remove, to be replaced by... 2007-05-08 02:50:32 -04:00
postypes.h postypes.h (class fpos<>): Remove redundant forward declaration. 2007-05-14 10:52:05 +00:00
slice_array.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
sstream.tcc PR libstdc++/28080 (partial) 2007-02-27 17:48:09 +00:00
stl_algo.h stl_algo.h: Shuffle the functions to better match the order in the standard. 2007-05-20 17:48:36 +00:00
stl_algobase.h stl_algobase.h (mismatch): Move... 2007-05-17 11:52:06 +00:00
stl_auto_ptr.h stl_memory.h: Rename to stl_auto_ptr.h. 2007-05-04 18:07:10 +00:00
stl_bvector.h DR 438, [DR]. 2007-04-27 22:59:36 +00:00
stl_construct.h stl_construct.h (_Destroy(_ForwardIterator, _ForwardIterator __last, _Allocator)): Change the last parameter to _Allocator&. 2007-05-04 15:06:46 +00:00
stl_deque.h DR 438, [DR]. 2007-04-27 22:59:36 +00:00
stl_function.h
stl_heap.h re PR libstdc++/21172 (potential integer overflow error in STL heap functions) 2007-02-13 00:25:30 +00:00
stl_iterator_base_funcs.h re PR libstdc++/26020 (std::advance() isn't stable for floating point numbers) 2006-10-17 15:17:32 +00:00
stl_iterator_base_types.h stl_memory.h: Rename to stl_auto_ptr.h. 2007-05-04 18:07:10 +00:00
stl_iterator.h PR libstdc++/30449 (equal) 2007-04-30 13:10:54 +00:00
stl_list.h DR 438, [DR]. 2007-04-27 22:59:36 +00:00
stl_map.h stl_map.h (map<>::insert(iterator, const value_type&): Uglify parameter. 2007-04-03 08:50:09 +00:00
stl_multimap.h [multiple changes] 2006-11-25 10:35:52 +00:00
stl_multiset.h [multiple changes] 2006-11-25 10:35:52 +00:00
stl_numeric.h PR libstdc++/28080 (partial) 2007-02-26 09:36:39 +00:00
stl_pair.h
stl_queue.h hash_map: Remove forward declaration of equality operator... 2006-09-21 17:54:50 +00:00
stl_raw_storage_iter.h stl_raw_storage_iter.h (class raw_storage_iterator): Adjust template parameter name. 2007-05-05 01:15:46 +00:00
stl_relops.h
stl_set.h [multiple changes] 2006-11-25 10:35:52 +00:00
stl_stack.h hash_map: Remove forward declaration of equality operator... 2006-09-21 17:54:50 +00:00
stl_tempbuf.h stl_tempbuf.h (return_temporary_buffer(_Tp*)): Inline. 2007-05-13 16:23:20 +00:00
stl_tree.h re PR libstdc++/31440 (libstdc++-g++-v3 discarded qualifiers) 2007-04-03 08:32:31 +00:00
stl_uninitialized.h PR c++/32158 (libstdc++ bits) 2007-05-31 11:13:57 +00:00
stl_vector.h PR c++/32158 (libstdc++ bits) 2007-05-31 11:13:57 +00:00
stream_iterator.h
streambuf_iterator.h streambuf_iterator.h (istreambuf_iterator<>::equal): Simplify. 2007-01-25 13:08:51 +00:00
streambuf.tcc re PR libstdc++/26181 (istream::operator>>(streambuf*) fails to set eofbit) 2006-02-10 18:29:04 +00:00
stringfwd.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
valarray_after.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
valarray_array.h stl_algobase.h: Do not include <cstring>. 2007-05-07 20:37:15 +00:00
valarray_array.tcc
valarray_before.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
vector.tcc re PR libstdc++/31370 (resizing bugs in std::vector<bool>) 2007-04-02 10:15:50 +00:00