gcc/libstdc++-v3/testsuite
Jonathan Wakely 046a84762b PR libstdc++/80893 Fix null dereference in vector<bool>
PR libstdc++/80893
	* include/bits/stl_bvector.h (vector<bool>::_M_initialize): Avoid
	null pointer dereference when size is zero.
	* testsuite/23_containers/vector/bool/80893.cc: New.
	* testsuite/util/testsuite_allocator.h (PointerBase::PointerBase):
	Add non-explicit constructor from nullptr.
	(PointerBase::derived() const): Add const-qualified overload.

From-SVN: r248734
2017-05-31 13:41:45 +01:00
..
17_intro Remove superfluous "" in dg-error. 2017-04-28 13:56:38 +01:00
18_support Implement P0607R0 "Inline Variables for Standard Library" for C++17 2017-03-23 19:40:07 +00:00
19_diagnostics
20_util re PR c++/80737 (variant<any> as class member resulting to compile errors) 2017-05-28 21:27:30 +00:00
21_strings Implement P0426R1 "Constexpr for std::char_traits" for C++17 (partial) 2017-04-03 18:15:53 +01:00
22_locale Fix alignment bugs in std::codecvt_utf16 2017-03-17 19:28:05 +00:00
23_containers PR libstdc++/80893 Fix null dereference in vector<bool> 2017-05-31 13:41:45 +01:00
24_iterators * testsuite/24_iterators/container_access.cc (test03): Make il3 static. 2017-05-09 11:11:19 -04:00
25_algorithms PR libstdc++/80796 Add new std::search overload for C++17 2017-05-19 13:11:31 +01:00
26_numerics PR libstdc++/80137 use std::nextafter instead of looping 2017-03-28 17:09:49 +01:00
27_io PR libstdc++/66145 ensure new ABI for ios::failure tests 2017-02-03 19:26:51 +00:00
28_regex
29_atomics 69301.cc: Require atomic builtins. 2017-01-23 17:18:04 +00:00
30_threads PR libstdc++/80316 make promise::set_value throw no_state error 2017-04-21 15:49:19 +01:00
abi
backward
config
data
decimal
experimental Test source_location::current() in default member initializer 2017-05-16 15:26:14 +01:00
ext Fix Debug Mode test failures 2017-03-23 19:40:41 +00:00
lib Define cxx11-abi effective target for libstdc++ tests 2017-01-13 14:57:33 +00:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters Bump version namespace. 2017-05-10 20:40:28 +00:00
libstdc++-xmethods
performance
special_functions PR libstdc++/68397 std::tr1::expint fails ... long double arguments. 2017-04-20 15:41:59 +00:00
tr1 PR libstdc++/68397 std::tr1::expint fails ... long double arguments. 2017-04-20 15:41:59 +00:00
tr2
util PR libstdc++/80893 Fix null dereference in vector<bool> 2017-05-31 13:41:45 +01:00
Makefile.am
Makefile.in re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00