https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88394
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-8 branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:bf2fe5d49627ca757123f4425a029bd92c50fc05 commit r8-10068-gbf2fe5d49627ca757123f4425a029bd92c50fc05 Author: Jason Merrill <ja...@redhat.com> Date: Tue Feb 25 21:29:03 2020 -0500 PR c++/88394 - ICE with VLA init-capture. We mostly use is_normal_capture_proxy to decide whether or not to use DECL_CAPTURED_VARIABLE; we could just check whether it's set. VLA capture is still mostly broken, but this fixes this ICE. gcc/cp/ChangeLog 2020-02-25 Jason Merrill <ja...@redhat.com> PR c++/88394 - ICE with VLA init-capture. * lambda.c (is_normal_capture_proxy): Check DECL_CAPTURED_VARIABLE.