[Bug c++/55922] brace initializing parent cause bogus virtual base constructor calls
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 18 18:34:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55922
--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Sep 18 18:33:52 2017
New Revision: 252937
URL: https://gcc.gnu.org/viewcvs?rev=252937&root=gcc&view=rev
Log:
PR c++/55922 - list-value-initialization of base
PR c++/63151
* init.c (expand_aggr_init_1): Handle list-initialization from {}.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/initlist-base2.C
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/initlist-base3.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/init.c
More information about the Gcc-bugs
mailing list