http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38047
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2008-11-07 11:26:14 |2011-11-10 10:26:14 Known to fail| |4.8.2 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Similar int main() { { extern int foo; foo; } { extern int foo; foo; } } > gcc -Wredundant-decls t.c -S t.c: In function 'main': t.c:8:16: warning: redundant redeclaration of 'foo' [-Wredundant-decls] extern int foo; ^ t.c:4:16: note: previous declaration of 'foo' was here extern int foo; ^ Re-confirmed.