[Bug c/50669] no warning for unused globals

jg at jguk dot org gcc-bugzilla@gcc.gnu.org
Mon Oct 10 22:41:00 GMT 2011


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

--- Comment #4 from Jon Grant <jg at jguk dot org> 2011-10-10 22:41:22 UTC ---
Ok. That makes sense. I confirmed by modifying the test, and having "static int
unused_int;" which gives a warning that it is unused at global scope.



More information about the Gcc-bugs mailing list