public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <bug-20318-4@http.gcc.gnu.org/bugzilla/>]
* [Bug c/20318] New: RFE: add attribute to specify that a function never returns NULL
@ 2005-03-04 15:32 jorton at redhat dot com
  2005-03-04 15:38 ` [Bug c/20318] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: jorton at redhat dot com @ 2005-03-04 15:32 UTC (permalink / raw)
  To: gcc-bugs

It would be useful to have a function attribute which specifies that the
function never returns NULL.

Currently the GCC 4 snapshots with -O2 -Wall generate ~15 spurious warnings in
the Subversion source code which could be eliminated if a couple of functions
could be marked as never returning NULL.

-- 
           Summary: RFE: add attribute to specify that a function never
                    returns NULL
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: c
        AssignedTo: dnovillo at gcc dot gnu dot org
        ReportedBy: jorton at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20318


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-10-11 11:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-20318-10211@http.gcc.gnu.org/bugzilla/>
2005-11-11 23:29 ` [Bug c/20318] RFE: add attribute to specify that a function never returns NULL green at redhat dot com
2005-11-12 19:26 ` pinskia at gcc dot gnu dot org
2006-01-09 18:34 ` pinskia at gcc dot gnu dot org
     [not found] <bug-20318-4@http.gcc.gnu.org/bugzilla/>
2013-10-09 13:03 ` glisse at gcc dot gnu.org
2013-10-11 11:48 ` glisse at gcc dot gnu.org
2005-03-04 15:32 [Bug c/20318] New: " jorton at redhat dot com
2005-03-04 15:38 ` [Bug c/20318] " pinskia at gcc dot gnu dot org
2005-03-04 17:53 ` giovannibajo at libero dot it
2005-03-04 17:59 ` dnovillo at redhat dot com
2005-03-04 18:01 ` dnovillo at gcc dot gnu dot org
2005-06-03 14:20 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).