]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/class.c
class.c (type_has_constexpr_default_constructor): Make sure the caller stripped an...
authorJason Merrill <jason@redhat.com>
Thu, 10 Feb 2011 16:29:49 +0000 (11:29 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 10 Feb 2011 16:29:49 +0000 (11:29 -0500)
commit69f36ba6bd980b7a0a426beec9e6b2c495d129b4
treec49864362c684ac4366e445c11ee2613ca837412
parent5b883ca61cf968fa32782309aa3750511b549889
class.c (type_has_constexpr_default_constructor): Make sure the caller stripped an enclosing array.

* class.c (type_has_constexpr_default_constructor): Make sure the
caller stripped an enclosing array.
* init.c (perform_member_init): Strip arrays before calling it.

From-SVN: r170006
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/regress/abi-empty7.C [new file with mode: 0644]