[Bug c++/65201] range-for range-init containing variable named like for-range-declaration iterates over uninitialized for-range-declaration

miyuki at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 17 00:52:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65201

Mikhail Maltsev <miyuki at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |miyuki at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #3 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
> `range-init` most certainly can't refer to `for-range-declaration`, as of what I understand.

I believe, it's a dup of PR54430.

*** This bug has been marked as a duplicate of bug 54430 ***



More information about the Gcc-bugs mailing list