From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A85013857028; Wed, 21 Jun 2023 12:22:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A85013857028 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687350173; bh=SgEAWy29vYm/EnRyN3TLRRPApCiDlOJhH5p34+UP76o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QTFT33d4gzOEVPh3QSaKu38w4vfV6v7hmd/NtaDDvU9gcnvs/cmHjv+HCezEsgdQF oTsFf7eVoyl8IVsLZilI0J0MS9n25ijcRMvI1QZyyq1kccEOaz/bG6bkelECHaLWE8 yoksMJaC3EmzYFgw//WeG7xAzVxNaxlRUADsCVGI= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/105651] [12 Regression] bogus "may overlap" memcpy warning with std::string and operator+ at -O3 Date: Wed, 21 Jun 2023 12:22:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.4 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=3D105651 --- Comment #29 from Jonathan Wakely --- I've pushed the workaround from comment 17 to the gcc-12 branch.=