[Bug target/105523] Wrong warning array subscript [0] is outside array bounds
konrad at silmor dot de
gcc-bugzilla@gcc.gnu.org
Wed Nov 23 18:11:31 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
--- Comment #12 from Konrad Rosenbaum <konrad at silmor dot de> ---
It would be super helpful if the AVR target (and all its sub-architectures)
could have the min-pagesize=0 option(*) set implicitly. This architecture has
ONLY firmware - firmware is not special in that architecture.
checks.
The first memory mapped page on AVR is actually the register/IO-port file that
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
More information about the Gcc-bugs
mailing list