re PR c++/28879 (ICE with VLA in template function)
commit6da06848ec8206c9824187019a9168b7aa38c94e
authorJakub Jelinek <jakub@redhat.com>
Tue, 20 Nov 2007 06:38:48 +0000 (20 07:38 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 20 Nov 2007 06:38:48 +0000 (20 07:38 +0100)
tree8da710cbd100cbf7f36f3c6050f186eee873e57b
parent63d34078b671ef7f3666daea632596f0885ee840
re PR c++/28879 (ICE with VLA in template function)

PR c++/28879
* tree.c (build_cplus_array_type_1): Don't pass any VLA types
when processing_template_decl to build_array_type.

* g++.dg/template/vla2.C: New test.

From-SVN: r130309
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/vla2.C [new file with mode: 0644]