gcc/libstdc++-v3/testsuite/23_containers
Phil Edwards 3bbfb3d91d std_bitset.h (_Base_bitset::_M_do_left_shift, [...]): Expect a non-zero shift.
2002-12-26  Phil Edwards  <pme@gcc.gnu.org>

	* include/std/std_bitset.h (_Base_bitset::_M_do_left_shift,
	_Base_bitset::_M_do_right_shift): Expect a non-zero shift.
	(bitset::operator<<=, bitset::operator>>=):  When shifting more bits
	than are in the bitset, zero memory rather than segfault.
	(operator>>(basic_istream,bitset):  Only call setstate once, after
	all work has been done.

	* testsuite/23_containers/bitset_members.cc (test03):  New test.
	* testsuite/23_containers/bitset_shift.cc (test02):  New test.

From-SVN: r60533
2002-12-27 00:03:17 +00:00
..
adaptors.cc
bitset_ctor.cc
bitset_members.cc std_bitset.h (_Base_bitset::_M_do_left_shift, [...]): Expect a non-zero shift. 2002-12-27 00:03:17 +00:00
bitset_shift.cc std_bitset.h (_Base_bitset::_M_do_left_shift, [...]): Expect a non-zero shift. 2002-12-27 00:03:17 +00:00
deque_ctor.cc
deque_operators.cc
list_capacity.cc
list_ctor.cc
list_modifiers.cc
list_operators.cc
map_insert.cc
map_operators_neg.cc
map_operators.cc
multiset.cc
set_operators_neg.cc
vector_bool.cc
vector_capacity.cc vector_capacity.cc (test03): Move ... 2002-12-19 01:54:59 +00:00
vector_ctor.cc
vector_element_access.cc
vector_modifiers.cc
vector_resize.cc vector_capacity.cc (test03): Move ... 2002-12-19 01:54:59 +00:00