From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 653003858025; Thu, 5 Jan 2023 08:53:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 653003858025 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672908791; bh=8w5ykT6fnXjfKQTy4/H9H3BDEDhIGhcEiUJD/tPYWwM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rmeNCp3xSviEQTnHFo41ayQQgcDpBIRQpvUMPcIL3Va4tV6omP3M9bv2E16kJPFuw aaota6gX18fhrmuXoM/flfzMW0pegDAIB+xGT9tW8stGFosXrYHg+H8EgFuj/e1Uuc 8Lic3YP5U4YKlhfF0WyNUeV6fXQnmDwuX/sh0hbk= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/108296] __builtin_memcpy generating wrong code in some cases Date: Thu, 05 Jan 2023 08:53:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 12.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: resolution bug_status 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=3D108296 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski --- Dup of bug 32667. The bug is not memcpy does not work for overlapping memory locations but ra= ther using memcpy instead of memmove for struct/block copies. *** This bug has been marked as a duplicate of bug 32667 ***=