[Bug c++/29208] C++: Warn about unchecked use of pointers
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Sep 24 23:37:00 GMT 2006
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-24 23:37 -------
This would require dataflow to get correct and it is not that useful as some
functions require non zero pointers and those should crash instead of having
null pointer checks on them.
And using references is not always the answer as some functions need to be able
to be used from C which does not have references.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29208
More information about the Gcc-bugs
mailing list