[Bug c++/83227] [7 Regression] internal compiler error: in process_init_constructor_array

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 16 14:13:00 GMT 2018


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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 16 14:12:48 2018
New Revision: 257738

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

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/initlist98.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/call.c


More information about the Gcc-bugs mailing list