http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55798
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-12-23 15:05:17 UTC --- (In reply to comment #0) > I don't think that's correct. It is. GCC previously accepted it but that was Bug 18770 > Even if the variable declared in the for-loop > goes into the scope of the loop body, the braces should open a new scope, > don't > they? No.