]> gcc.gnu.org Git - gcc.git/commit
PR c++/85618 - ICE with initialized VLA.
authorJason Merrill <jason@redhat.com>
Mon, 7 May 2018 19:22:35 +0000 (15:22 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 7 May 2018 19:22:35 +0000 (15:22 -0400)
commit1d473b8b9dd499a5e34d6a05d9ef2f4b521d1056
treeb86bd7a4e4f6fc75b74e2f16bc515803da0700b0
parentb83f5981c1f0bdc606d5cec28e1f32db7c5bc237
PR c++/85618 - ICE with initialized VLA.

* tree.c (vla_type_p): New.
* typeck2.c (store_init_value, split_nonconstant_init_1): Check it
rather than array_of_runtime_bound_p.

From-SVN: r260012
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/tree.c
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/ext/vla20.C [new file with mode: 0644]
This page took 0.061342 seconds and 5 git commands to generate.