https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70555
--- Comment #11 from Godmar Back <godmar at gmail dot com> --- I have attached a test case where capture of multidimensional VLA results in internal compiler error: in expand_expr_real_1, at expr.c:9908 I do not know if this is a duplicate of this bug or a separate bug. The program compiles and runs fine with clang 3.6.2, so I believe this should be valid C++. If this is a different bug and you'd like me to file a separate bug report, let me know. The behavior disappeared if the 'CC' array is no longer VLA.