http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55830
--- Comment #2 from Brooks Moses <brooks at gcc dot gnu.org> 2012-12-30 21:46:02 UTC --- Created attachment 29064 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29064 Minimal test case The attached test case illustrates the problem. When compiled with -Wall -Wextra -Werror, it reports: bug55830.c:6:44: warning: 'bar' defined but not used However, it does not report a similar warning for 'foo'.