[Bug c/16351] NULL dereference warnings

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 7 10:05:00 GMT 2015


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

--- Comment #34 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to David Binderman from comment #33)
> I found that using -g -O2 -Wall didn't enable this warning.
> Some of the documentation says it does.

Ops, you are right. I used the wrong EnabledBy() instead of LangEnabledBy(). I
see now that are other options suffering from the same problem. I'll produce a
patch.


More information about the Gcc-bugs mailing list