This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/55922] brace initializing parent cause bogus virtual base constructor calls


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55922

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Jul 24 03:05:46 2016
New Revision: 238694

URL: https://gcc.gnu.org/viewcvs?rev=238694&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-6-branch/gcc/testsuite/g++.dg/cpp0x/initlist-base2.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/initlist-base3.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/init.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]