------- Comment #1 from paolo dot carlini at oracle dot com 2008-08-25 10:43 ------- I think the improved error message in mainline makes clear this is invalid (the EDG front-end agrees, by the way):
37231.c:6: error: a label can only be part of a statement and a declaration is not a statement And the "work-around" is indeed Ok. -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37231