[Bug c++/54430] [C++11] For-Loop: Scope of iterating variable begins too early

tclamb at ufl dot edu gcc-bugzilla@gcc.gnu.org
Fri Mar 28 14:15:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54430

Thomas Lamb <tclamb at ufl dot edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tclamb at ufl dot edu

--- Comment #1 from Thomas Lamb <tclamb at ufl dot edu> ---
Just hit this bug in GCC 4.9. Again, the lhs side has scope before the rhs has
been evaluated, which is against the standardese in section 6.5.4 of both N3936
and N3291.



More information about the Gcc-bugs mailing list