From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by server2.sourceware.org (Postfix, from userid 48) id 58139385E82C; Sun, 8 Mar 2020 12:04:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 server2.sourceware.org 58139385E82C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1583669370; bh=bzIyT377rqz6Ct/9eNcT41x8kzrqODVucP1/cjUA1Fo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wo9x0XpJOUWiFy5hfCxh48jt3/9jDdJtr/Jt/5ijqR+fE7JjXBC+4eCV/iZApSZcC AQLayePOQ5INLU5suW/ApHMRCpTAXHta02OZNXq3zdOwz/sgl/LH4WUje3BoxOwOFh 6M0VYD+Vo+zjV4P/6SQ8U7ukbnPm0wwD9Ro2TM2s= From: "coryan+gccbugzilla at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94087] std::random_device often fails when used from multiple threads Date: Sun, 08 Mar 2020 12:04:16 +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: coryan+gccbugzilla at google dot com X-Bugzilla-Status: UNCONFIRMED 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-Spam-Status: No, score=-7.9 required=5.0 tests=ALL_TRUSTED, BAYES_00, GIT_PATCH_2 autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: Sun, 08 Mar 2020 12:09:30 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94087 --- Comment #4 from Carlos O'Ryan --- (In reply to Andrew Pinski from comment #1) > >The bug is *not* present on on Fedora:31 where the compiler reports: >=20 > I doubt it is version based but rather based on what the CPU you are runn= ing > on. I should have mentioned that I used the same hardware to test with Fedora:31 and openSUSE/Tumbleweed (using Docker in case that matters), so I do not believe we can attribute the behavior difference to the CPU.=