This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/16351] NULL dereference warnings


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

--- Comment #41 from Jeffrey A. Law <law at redhat dot com> ---
Actually I think we want the concept of never returns NULL, both as an
attribute and as a property the compiler can discover by analysis.  Given that
property on the return value, it can be propagated into call sites.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]