From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E1FBF3858417; Tue, 25 Apr 2023 16:58:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E1FBF3858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682441932; bh=g6WpRL2fmEFvYWFu/b7sgKv9aWd71jJMIqX/oW8EppI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CEUA664ArCbOeK0u0bYPH+MzvBiYXsWUaZ8oz4sagAf89B6AmZq7vIa60s5lpyaf8 bkB7LOLbNFj2Evx8e63KOHQjlKrvF1BWxEGZGGvH54q/oWq1q+X0+djzwAm2Kso+NV IhN7KNLvwKcv4g9lrVcmfrNTh6YA1l1Rn0r2QNSA= From: "klaus.doldinger64 at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/105523] Wrong warning array subscript [0] is outside array bounds Date: Tue, 25 Apr 2023 16:58:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: klaus.doldinger64 at googlemail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: saaadhu 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=3D105523 --- Comment #27 from Wilhelm M --- > I don't know if every embedded developer feels the same way. (Georg-Joha= nn > could chime in with his opinion.) Indeed, limiting the warning on volatile-qualified ptr would help.=