From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 47FE73858D35; Wed, 28 Jun 2023 19:21:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 47FE73858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687980077; bh=XixuaXMPxPMRDnJI56cqVQcsOaND6OTFiFafzbOGKUk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=C5Ebf3cyg2q3+26y1RFTfQntRJwgjuV7D/QdwlFv22IDUU0lA6n08bxfS7PnBP6A7 a4JLRAEXC/HM4vYUGxfqF2hswKJulbVCNKUtFLlrdGP0G2qxLOCuD3GlfAkxmOmoCj y7MvlVaao7UbtQjtNSWx9GH2fkFuIY1qdm1qtGsQ= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110458] -Warray-bounds=2 new false positive Date: Wed, 28 Jun 2023 19:21:17 +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: 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: component keywords 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=3D110458 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |tree-optimization Keywords| |diagnostic --- Comment #1 from Andrew Pinski --- The problem is ldist does: arr1_8 =3D &MEM[(struct data *)arrayOut_7(D)].arr1; __builtin_memset (arr1_8, 0, 32); (which is kinda of correct). I think there are other bug related to this similar thing ...=