This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/84315] missing -Wnonnull for trivial null pointer dereference
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 09 Feb 2018 18:25:25 +0000
- Subject: [Bug tree-optimization/84315] missing -Wnonnull for trivial null pointer dereference
- Auto-submitted: auto-generated
- References: <bug-84315-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84315
--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #3)
> Aww rats, I forgot about -Wnull-dereference.
>
> It's really unfortunate that -Wnull-dereference is disabled by default.
Maybe that's a decision worth revisiting.