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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|accepts-invalid             |wrong-code

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Mar 16 14:35:47 2018
New Revision: 258594

URL: https://gcc.gnu.org/viewcvs?rev=258594&root=gcc&view=rev
Log:
        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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist-ctor2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c

Reply via email to