From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B5A2A38518AB; Wed, 23 Nov 2022 18:11:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B5A2A38518AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669227092; bh=vVkXdb89QsM8xqIS+3stZFzeTtA9+/6IwjeIhORfiw4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wjJmhV0jCagQDxbUsBxRn+N/Qfpq0N/GKL5oi/lKk874wTo2W2iW/8qChisOj5co8 UXGy9D7zzOXpAzEoFAsu6UNXHVCM2ORDIn8N9IYzd1TgCz5n9EbbzdT2TOjwXtXnWT /qOE2J5UuuMq3dUkItrJbYbgnK7jNdIuDljtpyHU= From: "konrad at silmor dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/105523] Wrong warning array subscript [0] is outside array bounds Date: Wed, 23 Nov 2022 18:11:31 +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: konrad at silmor dot de X-Bugzilla-Status: NEW 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=3D105523 --- Comment #12 from Konrad Rosenbaum --- It would be super helpful if the AVR target (and all its sub-architectures) could have the min-pagesize=3D0 option(*) set implicitly. This architecture= has ONLY firmware - firmware is not special in that architecture.=20 checks. The first memory mapped page on AVR is actually the register/IO-port file t= hat leads to all the IO devices and "peripherals" that are inside these chips. = It's impossible to write any software for AVR without touching this page. (*) or something else that excludes the register file from range=