re PR middle-end/65554 (ICE: verify_gimple failed)
authorMarek Polacek <polacek@redhat.com>
Wed, 1 Apr 2015 13:08:05 +0000 (13:08 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 1 Apr 2015 13:08:05 +0000 (13:08 +0000)
commit14e51ef29345191a67a212ecccd79fa426826a64
tree957638af48e07034a160a9355bff94fde6b7c11d
parent0ff2bf464e5b159a2634f8f83363378e5d8f06ef
re PR middle-end/65554 (ICE: verify_gimple failed)

PR c++/65554
* class.c (finish_struct): Require that the second field of a
user-defined initializer_list be of size type.

* g++.dg/cpp0x/initlist93.C: New test.
* g++.dg/cpp0x/initlist94.C: New test.

From-SVN: r221808
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist93.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/initlist94.C [new file with mode: 0644]