[Bug c++/71604] [6/7 Regression] ICE on valid C++11 code with range-based for loop: in pop_binding, at cp/name-lookup.c:376

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 14 04:47:00 GMT 2016


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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |jason at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
This seems not to be valid. [stmt.ranged]p2: "The decl-specifier-seq shall not
define a class or enumeration."

Still shouldn't ICE, of course.


More information about the Gcc-bugs mailing list