From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6B2D738983A7; Tue, 15 Nov 2022 12:51:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B2D738983A7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668516684; bh=CyrpS93PEefE5GpnLRFYyjgw5rj+D4Y6G7fhi8YjRxs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mnC3peuiLcEnQdANRiafZdcVKNWXgHdin85qclrm3xmbd8HjRKq8flNqefGYDEAQm vJBZ9K8+jO1UvR3csCBwyDzfKAuSyz0fJ0pSyijv9mP7WfnNvgLc2h+4UYW7GUGQwP dzXLX4TX/mAWqq98Zei3VhSVqIkRruQmPRi3cvyQ= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/107677] -Warray-bounds: unclear what exactly it's meant to detect Date: Tue, 15 Nov 2022 12:51:24 +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: 13.0 X-Bugzilla-Keywords: diagnostic, documentation 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=3D107677 --- Comment #4 from Andrew Pinski --- Note range syntax of [a, b] is math syntax not to be confused with array deference syntax of c.=