gcc/libstdc++-v3/include
Ed Smith-Rowland 1c4ff014fe PR libstdc++/60037 - SIGFPE in std::generate_canonical<unsigned int...>
2014-07-29  Ed Smith-Rowland  <3dw4rd@verizon.net>

	PR libstdc++/60037 - SIGFPE in std::generate_canonical<unsigned int...>
	* include/bits/random.h (_Adaptor): static_assert for non floating-point
	result type.
	* include/bits/random.tcc (generate_canonical): Ditto.
	* include/ext/random.tcc (hypergeometric_distribution::operator()):
	Use double as a rng result type.
	* testsuite/26_numerics/random/pr60037-neg.cc: New.
	* testsuite/ext/random/hypergeometric_distribution/pr60037.cc: New.

From-SVN: r213207
2014-07-29 14:56:45 +00:00
..
backward Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
bits PR libstdc++/60037 - SIGFPE in std::generate_canonical<unsigned int...> 2014-07-29 14:56:45 +00:00
c Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
c_compatibility Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
c_global acinclude.m4 (GLIBCXX_CHECK_TMPNAM): New check for tmpnam function. 2014-01-23 21:17:15 +00:00
c_std Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
debug re PR libstdc++/60497 (unique_ptr<T> tries to complete its type T even though it's not required to be a complete type) 2014-05-13 18:22:08 +01:00
decimal Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
experimental string_view: Make the literal operators constexpr like the ctors they call. 2014-07-25 03:47:46 +00:00
ext PR libstdc++/60037 - SIGFPE in std::generate_canonical<unsigned int...> 2014-07-29 14:56:45 +00:00
parallel user.cfg.in (INPUT): Add C++14 headers. 2014-06-14 17:33:53 +01:00
precompiled Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
profile map.h: Fix typo in comment; minor formatting fix. 2014-05-25 08:38:01 +00:00
std allocated_ptr.h (__allocated_ptr::operator=): Add missing return. 2014-07-08 14:22:14 +01:00
tr1 beta_function.tcc: Fix spelling of include guard in comment. 2014-06-09 12:52:20 +01:00
tr2 any (any_cast): Combine duplicate doxygen comments. 2014-06-14 21:43:07 +01:00
Makefile.am Makefile.am: Add new header. 2014-06-25 21:54:46 +01:00
Makefile.in Makefile.am: Add new header. 2014-06-25 21:54:46 +01:00