[Bug c/16351] NULL dereference warnings
tim.ruehsen at gmx dot de
gcc-bugzilla@gcc.gnu.org
Sat Jan 7 14:52:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16351
--- Comment #51 from Tim Ruehsen <tim.ruehsen at gmx dot de> ---
(In reply to Martin Sebor from comment #50)
> Yes, -Wnull-dereference is only in GCC 6 and later. -Wnonnull is in 5 and
> prior but it does only a superficial job of checking (it only detects null
> pointer constants). in GCC 7, -Wnonnull does a better job (but it's still
> far from perfect).
This option is not for C ?
gcc 6.3.0 with options '-Q --help=warnings,C' doesn't print it out.
But '-Q --help=warnings' does.
Correct or missing (and if missing what else is missing with C !?).
More information about the Gcc-bugs
mailing list