This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/50669] no warning for unused globals


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]