PR c++/83808 - ICE with VLA initialization.
commitda0c07b20f79549eb8b1f1fe11ac5639f9083e49
authorJason Merrill <jason@redhat.com>
Thu, 5 Apr 2018 17:17:11 +0000 (5 13:17 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 5 Apr 2018 17:17:11 +0000 (5 13:17 -0400)
tree1427046bb225b1f64a4fcb6f4d4173e44fb2c9b6
parent61f84e25f6cbfb182bfaa4334d44f3c865c4c0b7
PR c++/83808 - ICE with VLA initialization.

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

From-SVN: r259138
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/ext/vla19.C [new file with mode: 0644]