re PR c++/70494 (Internal Compiler Error: Capturing an array of vectors in a lambda)
authorJason Merrill <jason@redhat.com>
Fri, 15 Apr 2016 04:02:49 +0000 (00:02 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 15 Apr 2016 04:02:49 +0000 (00:02 -0400)
commit8e718ecbb0ded9686113e64c9241c083b7afc620
treec022add6edc574e3112a7cae9d0a261c7de1c0c1
parent26144dde3b68a331a8db86a9c8eaaa63d572bce9
re PR c++/70494 (Internal Compiler Error: Capturing an array of vectors in a lambda)

PR c++/70494

* decl.c (cxx_maybe_build_cleanup): Handle non-decls.
* typeck2.c (split_nonconstant_init_1): Use it.

From-SVN: r235003
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-array2.C [new file with mode: 0644]