http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51454
Pubby8 <pubby.8 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED Severity|normal |trivial --- Comment #2 from Pubby8 <pubby.8 at gmail dot com> 2011-12-07 22:36:53 UTC --- Actually I seem to have been mistaken: "names declared in the for-init-statement are in the same declarative-region as those declared in the condition" Going to mark this as resolved as GCC seems to have the correct behavior.