[Bug c++/86177] Wnull-dereference warning for object file compile missing
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 18 12:02:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86177
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Lots of functions have such requirements and make it the caller's
responsibility to meet those requirements.
GCC is not a static analyser, you can't expect warnings about every possible
bug in your code.
More information about the Gcc-bugs
mailing list