public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "emsr at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/60037] SIGFPE in std::generate_canonical<unsigned int...> Date: Wed, 30 Jul 2014 00:26:00 -0000 [thread overview] Message-ID: <bug-60037-4-Rh4WuaE4B5@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-60037-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60037 --- Comment #15 from emsr at gcc dot gnu.org --- Author: emsr Date: Wed Jul 30 00:25:17 2014 New Revision: 213231 URL: https://gcc.gnu.org/viewcvs?rev=213231&root=gcc&view=rev Log: 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. Added: branches/gcc-4_9-branch/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc branches/gcc-4_9-branch/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/pr60037.cc Modified: branches/gcc-4_9-branch/libstdc++-v3/ChangeLog branches/gcc-4_9-branch/libstdc++-v3/include/bits/random.h branches/gcc-4_9-branch/libstdc++-v3/include/bits/random.tcc branches/gcc-4_9-branch/libstdc++-v3/include/ext/random.tcc
prev parent reply other threads:[~2014-07-30 0:26 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-02-03 6:38 [Bug libstdc++/60037] New: " ppluzhnikov at google dot com 2014-02-03 6:49 ` [Bug libstdc++/60037] " ppluzhnikov at gcc dot gnu.org 2014-02-07 15:16 ` ro at gcc dot gnu.org 2014-04-03 18:05 ` redi at gcc dot gnu.org 2014-04-08 16:08 ` redi at gcc dot gnu.org 2014-04-15 17:04 ` redi at gcc dot gnu.org 2014-04-22 11:36 ` jakub at gcc dot gnu.org 2014-07-16 13:29 ` jakub at gcc dot gnu.org 2014-07-27 14:58 ` paolo.carlini at oracle dot com 2014-07-27 15:00 ` paolo.carlini at oracle dot com 2014-07-27 19:05 ` emsr at gcc dot gnu.org 2014-07-29 8:10 ` emsr at gcc dot gnu.org 2014-07-29 16:13 ` emsr at gcc dot gnu.org 2014-07-29 16:50 ` emsr at gcc dot gnu.org 2014-07-29 16:52 ` redi at gcc dot gnu.org 2014-07-30 0:26 ` emsr at gcc dot gnu.org [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-60037-4-Rh4WuaE4B5@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).