gcc/libstdc++-v3/testsuite
Paolo Carlini 3164517929 re PR libstdc++/50951 (state of subtract_with_carry_engine not saved correctly to output stream)
2011-11-02  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/50951
	* include/bits/random.tcc (operator<<(basic_ostream<>&,
	const mersenne_twister_engine<>&): Output _M_p too.
	(operator<<(basic_ostream<>&, const
	subtract_with_carry_engine<>&): Likewise.
	(operator>>(basic_istream<>&, mersenne_twister_engine<>&):
	Reload it.
	(operator>>(basic_istream<>&, subtract_with_carry_engine<>&):
	Likewise.
	* include/bits/random.h (mersenne_twister_engine<>::operator==):
	Compare _M_p too.
	(subtract_with_carry_engine<>::operator==): Compare _M_carry
	and _M_p too.
	(shuffle_order_engine<>::operator==): Compare _M_v(s) and _M_y too.
	* testsuite/26_numerics/random/independent_bits_engine/
	operators/serialize.cc: Extend.
	* testsuite/26_numerics/random/subtract_with_carry_engine/
	operators/serialize.cc: Likewise.
	* testsuite/26_numerics/random/discard_block_engine/
	operators/serialize.cc: Likewise.
	* testsuite/26_numerics/random/mersenne_twister_engine/
	operators/serialize.cc: Likewise.
	* testsuite/26_numerics/random/linear_congruential_engine/
	operators/serialize.cc: Likewise.
	* testsuite/26_numerics/random/shuffle_order_engine/
	operators/serialize.cc: Likewise.

From-SVN: r180764
2011-11-02 10:06:08 +00:00
..
17_intro
18_support re PR c++/50920 (add a -std=c++11 option to the driver) 2011-10-31 15:34:14 -04:00
19_diagnostics re PR c++/50920 (add a -std=c++11 option to the driver) 2011-10-31 15:34:14 -04:00
20_util re PR c++/50920 (add a -std=c++11 option to the driver) 2011-10-31 15:34:14 -04:00
21_strings
22_locale 50714.cc: Fix mychar. 2011-10-14 10:38:23 +00:00
23_containers Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
24_iterators assign_neg.cc: Tidy dg- directives, for C++0x testing too. 2011-10-06 14:43:26 +00:00
25_algorithms
26_numerics re PR libstdc++/50951 (state of subtract_with_carry_engine not saved correctly to output stream) 2011-11-02 10:06:08 +00:00
27_io re PR c++/50920 (add a -std=c++11 option to the driver) 2011-10-31 15:34:14 -04:00
28_regex re PR c++/50920 (add a -std=c++11 option to the driver) 2011-10-31 15:34:14 -04:00
29_atomics re PR c++/50920 (add a -std=c++11 option to the driver) 2011-10-31 15:34:14 -04:00
30_threads future (promise): Add constructors for uses-allocator construction from rvalue promise. 2011-11-02 00:53:12 +00:00
abi
backward
config
data
decimal
ext c++config: Add tr2 to versioned namespaces. 2011-11-02 04:23:33 +00:00
lib re PR libstdc++/50196 ([C++0x] std::thread not available under macos) 2011-10-22 22:31:24 +01:00
libstdc++-abi
libstdc++-dg [multiple changes] 2011-10-18 02:58:06 +00:00
libstdc++-prettyprinters simple.cc: New file. 2011-08-25 14:29:47 +00:00
performance 41975.cc: New. 2011-10-14 11:25:27 +00:00
tr1 re PR libstdc++/50880 (__complex_acosh() picks wrong complex branch) 2011-10-27 11:00:25 +00:00
tr2 [multiple changes] 2011-10-19 22:05:26 +00:00
util re PR c++/50500 ([C++0x] [DR 1082] move constructor should cause copy constructor to be deleted, but still declared) 2011-10-18 13:39:15 -04:00
Makefile.am
Makefile.in