gcc/libstdc++-v3/include/debug
Jonathan Wakely bbf264c9b2 re PR libstdc++/61086 (ubsan detects undefined behaviour in the standard library)
PR libstdc++/61086
	* include/bits/stl_iterator.h (__normal_iterator::_M_const_cast):
	Remove.
	* include/bits/stl_vector.h (vector::insert, vector::erase): Use
	arithmetic to obtain a mutable iterator from const_iterator.
	* include/bits/vector.tcc (vector::insert): Likewise.
	* include/debug/vector (vector::erase): Likewise.
	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
	Adjust dg-error line number.
	* 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/vector/requirements/dr438/insert_neg.cc:
	Likewise.

From-SVN: r210162
2014-05-07 15:43:22 +01:00
..
array Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
bitset Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
debug.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
deque macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
formatter.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
forward_list macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
functions.h re PR libstdc++/60587 (debug-mode -std=c++11 vector::insert(pos, begin, end) dereferences begin too eagerly) 2014-03-21 18:54:06 +00:00
list macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
macros.h macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
map Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
map.h macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
multimap.h macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
multiset.h macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
safe_base.h macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
safe_container.h macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
safe_iterator.h macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
safe_iterator.tcc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
safe_local_iterator.h macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
safe_local_iterator.tcc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
safe_sequence.h macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
safe_sequence.tcc macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
safe_unordered_base.h macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
safe_unordered_container.h macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
safe_unordered_container.tcc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
set Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
set.h macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
string macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
unordered_map macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
unordered_set macros.h [...]: Add parameter to pass the 2 instances to check allocator equality. 2014-05-06 19:59:44 +00:00
vector re PR libstdc++/61086 (ubsan detects undefined behaviour in the standard library) 2014-05-07 15:43:22 +01:00