This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51454] For loop improper scoping
- From: "pubby.8 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 07 Dec 2011 22:36:53 +0000
- Subject: [Bug c++/51454] For loop improper scoping
- Auto-submitted: auto-generated
- References: <bug-51454-4@http.gcc.gnu.org/bugzilla/>
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.