From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 354E6384D0E7; Tue, 15 Nov 2022 01:47:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 354E6384D0E7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668476841; bh=/bcHvsgO880kak2/z0m/Wz7VlxrxhXeGgl/2W8BrhJc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sIyAWEOKZT3kluCOstG3kiLP4tdGaJpY3dEOCsCefpq6WKZlH5Uth9Ti3lQdO0Jd7 4REvHx7p4EzeMxEGa9P+8/txFirGGSDjkFojtCPFE+QqWUqA0ulDFkEjtxBWws+dXU V8TEy8MaMsODa4qwDVcZwhBU21FuwC86nimWXcsc= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/107660] Running binaries compiled with g++11 or later produces different results than g++ version 10 or earlier Date: Tue, 15 Nov 2022 01:47:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: WAITING 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107660 --- Comment #6 from Jonathan Wakely --- It's expected and required by the standard that std::mt19937 produces the s= ame numbers every time. And if I run a test for GCC 10 and GCC 11 I see the same number produced for the first 2.14 billion results.=