re PR c++/60417 ([DR 1518] Bogus error on C++03 aggregate initialization)
authorJason Merrill <jason@redhat.com>
Tue, 4 Mar 2014 22:16:12 +0000 (17:16 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 4 Mar 2014 22:16:12 +0000 (17:16 -0500)
commitca982b1c62cb8ee2d19cd3c44f849f0ec7be4c12
tree33f9f90f783ea5acd5f0f886c186080da789ae42
parent201fe4c608fea87610940f2e6329f2ae13157cee
re PR c++/60417 ([DR 1518] Bogus error on C++03 aggregate initialization)

PR c++/60417
* typeck2.c (process_init_constructor_record): Set
CONSTRUCTOR_IS_DIRECT_INIT on {} for omitted initializers.

From-SVN: r208333
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/init/explicit1.C [new file with mode: 0644]