re PR c++/58611 ([c++11] ICE with invalid constexpr constructor used in array initial...
authorJason Merrill <jason@redhat.com>
Mon, 14 Jul 2014 05:25:31 +0000 (01:25 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 14 Jul 2014 05:25:31 +0000 (01:25 -0400)
commit1ea3b9879b670a30e176046fc8e69b5c9e862c80
tree69433d8f1e26db0c0b334321be08512bc44a4c77
parent22c6ea004237e0dd3aebdfec3cbaad138bec06df
re PR c++/58611 ([c++11] ICE with invalid constexpr constructor used in array initialization)

PR c++/58611
* decl.c (check_initializer): Don't finish_compound_literal
on erroneous constexpr init.

From-SVN: r212506
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/cpp0x/constexpr-array6.C [new file with mode: 0644]