From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7C59E3858D37; Sat, 15 Oct 2022 22:19:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C59E3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665872399; bh=HszIi37+moRaVVAEnYAvaRSZtOi/W6bn1WCAA5P4H0U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=t8x35cN5ZUN21ZayEcAfVxkTedNuVp8NnLd+2HbE3ZFcR2GZR81fwGAL3b52cLMk5 QOgon38HODKEp3VHyyz1LqWi2RDQyTkOSCGwTo02KMJ3OY2fCGCY/gz09I4UvBB2ki 1rgkZ6moYtExixamFyAyT2Fxc+898R2/OGpMV+58= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107274] Incorrect -Wuninitialized on indexed initialization Date: Sat, 15 Oct 2022 22:19:59 +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: 12.2.1 X-Bugzilla-Keywords: 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=3D107274 --- Comment #1 from Andrew Pinski --- Strict aliasing issue. Store is via char but load is via long to a char arr= ay.=