[Bug c++/67631] brace initialization bug
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 18 20:29:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67631
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Nov 18 20:27:41 2016
New Revision: 242604
URL: https://gcc.gnu.org/viewcvs?rev=242604&root=gcc&view=rev
Log:
PR c++/67631 - list-init and explicit conversions
* semantics.c (finish_compound_literal): Call digest_init_flags.
* typeck2.c (digest_init_flags): Add complain parm.
(store_init_value): Pass it.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/initlist-explicit1.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/cp-tree.h
branches/gcc-6-branch/gcc/cp/semantics.c
branches/gcc-6-branch/gcc/cp/typeck2.c
More information about the Gcc-bugs
mailing list