gcc/libstdc++-v3/include/std
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
..
std_algorithm.h
std_bitset.h std_bitset.h (_Base_bitset::_M_do_left_shift, [...]): Expect a non-zero shift. 2002-12-27 00:03:17 +00:00
std_complex.h Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
std_deque.h
std_fstream.h TODO: Note change in clause 27 docs. 2002-11-21 07:06:41 +00:00
std_functional.h
std_iomanip.h TODO: Note change in clause 27 docs. 2002-11-21 07:06:41 +00:00
std_ios.h
std_iosfwd.h TODO: Note change in clause 27 docs. 2002-11-21 07:06:41 +00:00
std_iostream.h TODO: Note change in clause 27 docs. 2002-11-21 07:06:41 +00:00
std_istream.h TODO: Note change in clause 27 docs. 2002-11-21 07:06:41 +00:00
std_iterator.h
std_limits.h re PR libstdc++/8949 (numeric_limits<>::denorm_min() and is_iec559 problems.) 2002-12-16 19:52:37 +00:00
std_list.h
std_locale.h
std_map.h
std_memory.h
std_numeric.h
std_ostream.h TODO: Note change in clause 27 docs. 2002-11-21 07:06:41 +00:00
std_queue.h
std_set.h
std_sstream.h Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
std_stack.h
std_stdexcept.h
std_streambuf.h Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
std_string.h
std_utility.h
std_valarray.h
std_vector.h