OSDN Git Service

cp/
authorjiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Apr 2010 10:14:45 +0000 (10:14 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 00:48:06 +0000 (09:48 +0900)
commitb76f512eb881d83ece7c9d77406a439729ac38fd
tree6c2ea45a1a652abdec898e26310c8900ea4d9ecc
parent8329bdfbf6a2fa7d9b3c42ce8530b794aa2e43b9
cp/
PR c++/42556
* typeck2.c (split_nonconstant_init_1): Drop empty CONSTRUCTOR
when all of its elements are non-constant and have been split out.

testsuite/
PR c++/42556
* g++.dg/init/pr42556.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158047 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog