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 #43 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
(In reply to Tim Ruehsen from comment #42)
> (In reply to Jeffrey A. Law from comment #41)
> > 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.
> 
> ++ That sounds like very useful feature.

We have returns_nonnull already.

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