https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Apr  5 17:17:11 2018
New Revision: 259138

URL: https://gcc.gnu.org/viewcvs?rev=259138&root=gcc&view=rev
Log:
        PR c++/83808 - ICE with VLA initialization.

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

Added:
    trunk/gcc/testsuite/g++.dg/ext/vla19.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck2.c

Reply via email to