This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/4076] -Wunused doesn't warn about static function only called by itself.
- From: "stevenb dot gcc at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jan 2007 19:58:29 -0000
- Subject: [Bug c/4076] -Wunused doesn't warn about static function only called by itself.
- References: <bug-4076-1176@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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