PR c++/83227 - C++17 ICE with init-list derived-to-base conversion.
authorJason Merrill <jason@redhat.com>
Fri, 16 Feb 2018 02:47:19 +0000 (21:47 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 16 Feb 2018 02:47:19 +0000 (21:47 -0500)
commitd78aecf47261c3bb6b03966db5d1db4564e98b1b
treede75b537293cdafe1ab3d96f8db4a94f8c845332
parentd8865b6ed853691a372d9535fb9412639547fcb1
PR c++/83227 - C++17 ICE with init-list derived-to-base conversion.

* call.c (convert_like_real): Don't use the copy-list-initialization
shortcut for ck_base.

From-SVN: r257720
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/cpp0x/initlist98.C [new file with mode: 0644]