[Bug c++/41727] [7 Regression] inner template specialization on non-type arg template causes ICE

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 21 20:51:00 GMT 2017


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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Feb 21 20:50:57 2017
New Revision: 245642

URL: https://gcc.gnu.org/viewcvs?rev=245642&root=gcc&view=rev
Log:
        PR c++/41727 - ICE with partial spec of partial instantiation

        * pt.c (process_partial_specialization): For now, don't check more
        specialized if there is more than one level of args.

Added:
    trunk/gcc/testsuite/g++.dg/template/partial-specialization5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c


More information about the Gcc-bugs mailing list