re PR c++/58868 (ICE: in count_type_elements, at expr.c:5495 with -std=gnu++0x)
authorJason Merrill <jason@redhat.com>
Tue, 5 Nov 2013 18:03:03 +0000 (13:03 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 5 Nov 2013 18:03:03 +0000 (13:03 -0500)
commit136d4b89f0f3aca9acce466e00dab8ff0e5fc9b5
treed080f3194ea137f68f9a006b7ef28a26eb0534f1
parent02ac9503fda84a6a5973c0ddc02c4407194145bb
re PR c++/58868 (ICE: in count_type_elements, at expr.c:5495 with -std=gnu++0x)

PR c++/58868
* decl.c (check_initializer): Don't use build_vec_init for arrays
of trivial type.

From-SVN: r204406
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/init/array35.C [new file with mode: 0644]