[Bug c++/57408] lambda, Variable length arrays, thread, internal compiler error: in expand_expr_real_1, at expr.c:9327
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 21 12:40:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57408
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
The issue here is that this capture is not valid C++1y because an array bound
other than the first one is non-constant. Current 4.9 gives an error and then
crashes; I'll fix the crash, but it will still be rejected.
More information about the Gcc-bugs
mailing list