[Bug c++/60417] [DR 1518] Bogus error on C++03 aggregate initialization
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 20 01:17:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Aug 20 01:16:31 2014
New Revision: 214205
URL: https://gcc.gnu.org/viewcvs?rev=214205&root=gcc&view=rev
Log:
PR c++/60417
* init.c (build_vec_init): Set CONSTRUCTOR_IS_DIRECT_INIT on
init-list for trailing elements.
* typeck2.c (process_init_constructor_array): Likewise.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/init/explicit2.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/init.c
branches/gcc-4_9-branch/gcc/cp/typeck2.c
More information about the Gcc-bugs
mailing list