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
..
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00