PR c++/83937 - wrong C++17 handling of init-list ctor argument.
authorJason Merrill <jason@redhat.com>
Fri, 16 Mar 2018 14:35:47 +0000 (10:35 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 16 Mar 2018 14:35:47 +0000 (10:35 -0400)
commita81495699e206fef07824accd73d183294a1d0b0
treeb870e3297bcf07ffe3ad6a62ae155040fc12c1a1
parent570f86f94eca76fbfab919dcbfe639a5ba69f20e
PR c++/83937 - wrong C++17 handling of init-list ctor argument.

* call.c (build_special_member_call): Don't convert an init-list
argument directly to the class type.

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