gcc/libstdc++-v3/include
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
..
backward howto.html (GLIBCPP_FORCE_NEW): Document new environment variable which replaces all uses of __USE_MALLOC macro. 2002-10-18 20:52:57 +00:00
bits Daily bump. 2002-12-26 08:17:39 +00:00
c
c_compatibility
c_std
ext stl_rope.h (rope<>): Qualify dependent names with `typename'. 2002-09-17 01:56:06 +00:00
std std_bitset.h (_Base_bitset::_M_do_left_shift, [...]): Expect a non-zero shift. 2002-12-27 00:03:17 +00:00
Makefile.am configure.in (GLIBCPP_ENABLE_DEBUG): Default to none. 2002-12-16 19:02:01 +00:00
Makefile.in configure.in (GLIBCPP_ENABLE_DEBUG): Default to none. 2002-12-16 19:02:01 +00:00