[Bug c/4076] -Wunused doesn't warn about static function only called by itself.

manu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jan 27 15:46:00 GMT 2007



------- Comment #4 from manu at gcc dot gnu dot org  2007-01-27 15:45 -------
The funny thing is that if we fix this, bootstrap will break (with a warning
treated as an error) on tree-optimize.c (update_inlined_to_pointers) since it
seems that that function is only used by itself.

Is it dead code that we can remove or there is something weird going on?


-- 


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



More information about the Gcc-bugs mailing list