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 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161 2002-06-29 01:10:51 +00:00
bitset_ctor.cc std_bitset.h (_Base_biteset<0>): New specialization. 2002-05-24 18:16:00 +00:00
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 testsuite_allocator.h: New file. 2002-11-26 00:53:12 +00:00
deque_operators.cc re PR libstdc++/7186 (DR179 for std::deque::iterator and const_iterator) 2002-07-07 10:15:06 +00:00
list_capacity.cc list_capacity.cc: New file. 2001-11-22 19:19:23 +00:00
list_ctor.cc list_capacity.cc: New file. 2001-11-22 19:19:23 +00:00
list_modifiers.cc Makefile.am (noinst_LIBRARIES): New target. 2002-05-28 23:15:18 +00:00
list_operators.cc list_capacity.cc: New file. 2001-11-22 19:19:23 +00:00
map_insert.cc re PR libstdc++/3349 (bug in map::insert(p,t)) 2001-08-24 17:40:31 +00:00
map_operators_neg.cc std_memory.h: Fix formatting. 2002-07-04 07:25:19 +00:00
map_operators.cc std_memory.h: Fix formatting. 2002-07-04 07:25:19 +00:00
multiset.cc sbuf_iter.h: Change to.. 2001-06-26 21:22:57 +00:00
set_operators_neg.cc std_memory.h: Fix formatting. 2002-07-04 07:25:19 +00:00
vector_bool.cc stl_bvector.h: Use UL suffix for unsigned longs. 2002-06-01 00:48:21 +00:00
vector_capacity.cc vector_capacity.cc (test03): Move ... 2002-12-19 01:54:59 +00:00
vector_ctor.cc testsuite_allocator.h: New file. 2002-11-26 00:53:12 +00:00
vector_element_access.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
vector_modifiers.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
vector_resize.cc vector_capacity.cc (test03): Move ... 2002-12-19 01:54:59 +00:00