This is the mail archive of the gcc-patches@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]

C++ PATCH for c++/66617 (base list-initialization)


List-initialization of bases with virtual bases was also broken,
because we weren't considering the VTT argument when looking for the
initializer-list argument or passing it through to a constructor.
Fixed by using num_artificial_parms_for.

Tested x86_64-pc-linux-gnu, applying to trunk.

Attachment: 66617.diff
Description: Text document


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