From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14262 invoked by alias); 27 Jan 2007 19:58:39 -0000 Received: (qmail 14199 invoked by alias); 27 Jan 2007 19:58:29 -0000 Date: Sat, 27 Jan 2007 19:58:00 -0000 Message-ID: <20070127195829.14198.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/4076] -Wunused doesn't warn about static function only called by itself. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "stevenb dot gcc at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-01/txt/msg02376.txt.bz2 ------- Comment #8 from stevenb dot gcc at gmail dot com 2007-01-27 19:58 ------- Subject: Re: -Wunused doesn't warn about static function only called by itself. Just one for everything should suffice. Or, if you prefer, you can remove that one function with a separate patch first, which, I believe, you can commit as obviously correct (given that the author of that function and authority of its usage already ack'ed that the function is dead code). Thanks for working on this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4076