From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28196 invoked by alias); 4 Mar 2005 15:32:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 27974 invoked by uid 48); 4 Mar 2005 15:32:46 -0000 Date: Fri, 04 Mar 2005 15:32:00 -0000 From: "jorton at redhat dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20050304153241.20318.jorton@redhat.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/20318] New: RFE: add attribute to specify that a function never returns NULL X-Bugzilla-Reason: CC X-SW-Source: 2005-03/txt/msg00528.txt.bz2 List-Id: 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