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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Mar 14 19:17:03 2018
New Revision: 258533

URL: https://gcc.gnu.org/viewcvs?rev=258533&root=gcc&view=rev
Log:
        PR c++/83916 - ICE with template template parameters.

        * pt.c (convert_template_argument): Don't substitute into type of
        non-type parameter if we don't have enough arg levels.
        (unify): Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/template/ttp31.C
    trunk/gcc/testsuite/g++.dg/template/ttp32.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c

Reply via email to