PR c++/83808 - ICE with VLA initialization.
commitee1f74098cefdc6553e5c589e5762d7d7eaceb8a
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Apr 2018 17:17:11 +0000 (5 17:17 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Apr 2018 17:17:11 +0000 (5 17:17 +0000)
tree1427046bb225b1f64a4fcb6f4d4173e44fb2c9b6
parentc7120adce08a0039bd85f2973055fa1d1acffd76
PR c++/83808 - ICE with VLA initialization.

* typeck2.c (process_init_constructor_array): Don't require a VLA
initializer to have VLA type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259138 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/ext/vla19.C [new file with mode: 0644]