From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0E0F938708F0; Thu, 14 May 2020 10:44:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0E0F938708F0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589453062; bh=F5x0MTPq8Nfn4ZkyQX4xPp8x6YYqabDbBr5uzYwgwpc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=E31TeV1IDiDvbk3tiw6ltCIMeGyQq8ljgjon+ZrRIVpi2PHuVwHhtE7wwrwfPOAXc /W0gvo9EqKRsbXdbIXO1T9jTHqKz/58gQwPH6VWMBI1APi+yqMj1NuBgUHvoy8ksVB 7aCGqe/0dA8wRrbuBaw59Bo3v40QGnkfqQXcRVVk= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94087] std::random_device often fails when used from multiple threads Date: Thu, 14 May 2020 10:44:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2020 10:44:22 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94087 --- Comment #12 from Jonathan Wakely --- (In reply to wnereiz from comment #9) > This issue seems not limit to a certain GCC version. I tried the code with > gcc7, gcc9 and gcc10 on openSUSE Tumbleweed. All failed. As Richard said, the code to use rdseed was added for GCC 10, so there is no way you're seeing the same problem on earlier releases.=