From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C22483851C04; Fri, 21 Jul 2023 22:35:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C22483851C04 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689978925; bh=/cp+0Vd8z5BJCJQKDP2tKn0GfXtmroP2YWsgDCP93+8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=I5HnsFB+dRaTdka5doWeqtuh9DfWbwDnlVyDQ3n86Gb5DcjqDs0R/rBLjUC3NKHuP i7l6kNq98N+PSbeFe3+mC6IYetw5rb7gpJbONN2yHIuHP3Z3OYPS8NEKAzwWVx4B7g NNaoc2kb+epEPlP0fevI08ZPptyCp5bWnW5Rtycc= From: "maxim.yegorushkin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/110764] [12/13/14 Regression] False positive -Warray-bounds warning swapping std::thread::id Date: Fri, 21 Jul 2023 22:35:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 12.3.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: maxim.yegorushkin at gmail 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110764 --- Comment #7 from Maxim Egorushkin -= -- > Can you provide the preprocessed source? Since I can't seem to reproduce = it with the above. It should be compiled with "-pthread -std=3Dgnu++14 -O3 -Wall -Wextra -Werr= or" to trigger the warning/error. But I don't have access to Debian gcc-13, which is the origin of this issue= , to be able to provide a preprocessed source.=