diff options
author | Ed Smith-Rowland <3dw4rd@verizon.net> | 2014-07-29 14:56:45 +0000 |
---|---|---|
committer | Edward Smith-Rowland <emsr@gcc.gnu.org> | 2014-07-29 14:56:45 +0000 |
commit | 1c4ff014fe1f6b440b4df75ca6f419ebc00fcac0 (patch) | |
tree | c98e05a6bf49ab42d191c28ae725ebc36e2debb1 /libiberty/xatexit.c | |
parent | f3691f465e062f2380c0d9a6018951030fc8a2a3 (diff) | |
download | gcc-1c4ff014fe1f6b440b4df75ca6f419ebc00fcac0.zip gcc-1c4ff014fe1f6b440b4df75ca6f419ebc00fcac0.tar.gz gcc-1c4ff014fe1f6b440b4df75ca6f419ebc00fcac0.tar.bz2 |
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
Diffstat (limited to 'libiberty/xatexit.c')
0 files changed, 0 insertions, 0 deletions