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: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2007 18:08:46 -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 #10 from manu at gcc dot gnu dot org 2007-01-29 18:08 -------
(In reply to comment #9)
> I will submit two patches. The first one will remove the function. Then, I have
> to regtest the second one: perhaps we find another unused function!
Another one:
genautomata.c: static int longest_path_length (state_t state)
Should also be removed completely?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4076