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

--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Jul  2 00:22:37 2019
New Revision: 272917

URL: https://gcc.gnu.org/viewcvs?rev=272917&root=gcc&view=rev
Log:
        PR c++/60223 - ICE with T{} in non-deduced context.
        * pt.c (unify): Allow COMPOUND_LITERAL_P in a non-deduced context.

        * g++.dg/cpp0x/nondeduced1.C: New test.
        * g++.dg/cpp0x/nondeduced2.C: New test.
        * g++.dg/cpp0x/nondeduced3.C: New test.
        * g++.dg/cpp0x/nondeduced4.C: New test.

Added:
    branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp0x/nondeduced1.C
    branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp0x/nondeduced2.C
    branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp0x/nondeduced3.C
    branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp0x/nondeduced4.C
Modified:
    branches/gcc-9-branch/gcc/cp/ChangeLog
    branches/gcc-9-branch/gcc/cp/pt.c

Reply via email to