public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/105502] [9/10/11/12/13 Regression] std::normal_distribution deserialization issue Date: Fri, 06 May 2022 22:55:34 +0000 [thread overview] Message-ID: <bug-105502-4-CtJ4WGbF53@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-105502-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105502 --- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>: https://gcc.gnu.org/g:909ef4e2727ddc50a32d6ad379a1f1ccc1043c6a commit r13-163-g909ef4e2727ddc50a32d6ad379a1f1ccc1043c6a Author: Jonathan Wakely <jwakely@redhat.com> Date: Fri May 6 21:19:17 2022 +0100 libstdc++: Fix deserialization for std::normal_distribution [PR105502] This fixes a regression in std::normal_distribution deserialization that caused the object to be left unchanged if the __state_avail value read from the stream was false. libstdc++-v3/ChangeLog: PR libstdc++/105502 * include/bits/random.tcc (operator>>(basic_istream<C,T>&, normal_distribution<R>&)): Update state when __state_avail is false. * testsuite/26_numerics/random/normal_distribution/operators/serialize.cc: Check that deserialized object equals serialized one.
next prev parent reply other threads:[~2022-05-06 22:55 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-05-06 8:28 [Bug libstdc++/105502] New: " frank.marschner at cognitec dot com 2022-05-06 14:35 ` [Bug libstdc++/105502] [9/12/11/12/13 Regression] " redi at gcc dot gnu.org 2022-05-06 20:51 ` [Bug libstdc++/105502] [9/10/11/12/13 " redi at gcc dot gnu.org 2022-05-06 22:55 ` cvs-commit at gcc dot gnu.org [this message] 2022-05-06 22:59 ` cvs-commit at gcc dot gnu.org 2022-05-06 22:59 ` [Bug libstdc++/105502] [9/10/11 " redi at gcc dot gnu.org 2022-05-09 15:09 ` cvs-commit at gcc dot gnu.org 2022-05-09 16:35 ` cvs-commit at gcc dot gnu.org 2022-05-09 16:44 ` cvs-commit at gcc dot gnu.org 2022-05-09 16:44 ` redi at gcc dot gnu.org
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-105502-4-CtJ4WGbF53@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).