[Bug c/96550] gcc is smart in figuring out a non-returning function.

R.E.Wolff at BitWizard dot nl gcc-bugzilla@gcc.gnu.org
Mon Aug 10 11:55:45 GMT 2020


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

--- Comment #6 from Roger Wolff <R.E.Wolff at BitWizard dot nl> ---
So, I've added "-Wall" to my Makefile to get ALL warnings, giving me the
biggest chance of finding bugs through the compiler telling me you have a bug
on line X of file Y. 

So IMHO -Wnull-dereference should be part of -Wall. I'm not a compiler guy. I
just use the stuff. So now the question becomes: Why is that warning not part
of -Wall ?


More information about the Gcc-bugs mailing list