[Bug c/123275] Spurious warning: array subscript 0 is outside array bounds of ‘void[0]’

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 23 10:45:26 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123275

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Andrew Pinski from comment #1)
> In this case, the lower 4k page is valid, so you need to use `--param
> min-pagesize=0` to avoid this warning.

Yes, this is it.


More information about the Gcc-bugs mailing list