PR c++/71747 - ICE with self-referential partial spec
authorJason Merrill <jason@redhat.com>
Wed, 27 Jul 2016 14:31:30 +0000 (10:31 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 27 Jul 2016 14:31:30 +0000 (10:31 -0400)
commit270430ff3eb2632320372e6974ce9ef7038e31d2
treea1799237fa9426cb2869bdb2fc49a23d865b5afa
parent8de22ea0b15dbfdb61461d8732b05c9ce9ce0f48
PR c++/71747 - ICE with self-referential partial spec

* pt.c (get_partial_spec_bindings): Replace tparms and spec_args
parameters with spec_tmpl.  Call push_tinst_level.
(most_specialized_partial_spec): Adjust.
(more_specialized_partial_spec): Adjust.

From-SVN: r238785
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/initlist-template2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/pr55843.C