From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E2BC93858CDB; Wed, 4 Oct 2023 22:50:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E2BC93858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696459821; bh=41nBuVCWd8gC6HjTCJ5Us95ZcTv8O1JWeuZiMeOPMO8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rUgfhNe+amRpJBdY7KM0nhIlwSXja3rD8kfOhv5JhCpk21ywdLRXz/fXJ2cdY9k58 TmtVZi3agPPo0dGEK5gfxWSa42v/k2xVzaAXEfAdodpBD5vq4YHKcVX6Z6Ez+4YndC qGMVoJ30xwEFkGFoqzneOa40Z+2rRBSdawxGZWbY= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/111696] [11/12/13/14 Regression] Spurious -Wstringop-overflow Date: Wed, 04 Oct 2023 22:50:21 +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: 14.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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=3D111696 --- Comment #1 from Andrew Pinski --- The vectorizer has not much to do with the warning issue except for the IR change into FRE. Before fre5: _11 =3D &last_14(D)->s; memcpy (_11, &cur.s, 24); After: vectp.7_19 =3D &accum_13(D)->sD.4831.aD.4827[0]; ... vectp.10_9 =3D &last_14(D)->sD.4831.aD.4827[0]; ... # .MEM_26 =3D VDEF <.MEM_12(D)> MEM [(long unsigned intD.17 *)vectp.7_1= 9] =3D vect__5.13_24; # .MEM_17 =3D VDEF <.MEM_26> MEM [(charD.11 * {ref-all})vectp.10_9] =3D MEM [(charD.11 * {ref-all})&curD.4832];=