From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CCE4B3858C74; Thu, 29 Feb 2024 22:18:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CCE4B3858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709245113; bh=TCNLW4QBidP+LvMvJroi9WSKRMabAhRJvY2RV7QpcxA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pE72pNKbCc96e3xFfGXfpidisy0wY0E33p5FprpDdsoLG6t5x7RZ8Uf0p1QND6Naf 92zdjQAdyIynini1PDMFKXkcBlQn9Kgt+P4334eCzp9VNNbng4TChQA2FLloAivaFW QmLsB6OIEPsVLpR79Njv3mQ4j8E5SmqPkMqj3BF8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114178] incorrect -Wstringop-overflow with freestanding + new w/ initialization + no sse Date: Thu, 29 Feb 2024 22:18:33 +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: 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=3D114178 --- Comment #1 from Andrew Pinski --- Confirmed. There is a dup of this bug somewhere. Basically the vectorizer is causing some IR which shows up the warning. Yes even though you disable the vector instruction sets, the vectorizer still happens, specifically with the idea that `vector(8) char` stores could be done using the 64bit GPRs=