This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51454] For loop improper scoping


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]