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

--- Comment #2 from Jonny Grant <jg at jguk dot org> ---
(In reply to Andrew Pinski from comment #1)
> There is -Wnull-dereference for this ...

I agree. I set that -Wnull-dereference in usual projects (it doesn't seem to
get enabled by -Wall -Wextra)

I just expected -Warray-bounds to get the 0x0 address too

Reply via email to