[Bug libstdc++/60037] SIGFPE in std::generate_canonical<unsigned int...>
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 15 17:04:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60037
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |emsr at gcc dot gnu.org
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Ed, could you take a look at this please?
These testcases are invalid as std::generate_canonical must be instantiated for
floating-point types, not unsigned int:
ext/random/hypergeometric_distribution/operators/serialize.cc
ext/random/hypergeometric_distribution/operators/values.cc
Do we need a new __generate_canonical for int types?
Also, we should fix all the bogus references to clauses in the standard for the
non-standard distributions:
---
a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/equal.cc
+++
b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/equal.cc
@@ -20,7 +20,7 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// 26.5.8.4.5 Class template rice_distribution [rand.dist.ext.hypergeometric]
+// Class template hypergeometric_distribution
#include <ext/random>
#include <testsuite_hooks.h>
More information about the Gcc-bugs
mailing list