]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/6440 (template specializations cause ICE)
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Sun, 16 Mar 2003 14:28:43 +0000 (14:28 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Sun, 16 Mar 2003 14:28:43 +0000 (14:28 +0000)
commit9eaa910b265291b1fa82720941d84c2d86a94542
tree9a6619520508ff928b2528e82e56bb09178a7620
parentd48bc49ddef1251f967b0757fc739e96f9f1f23c
re PR c++/6440 (template specializations cause ICE)

PR c++/6440
* pt.c (maybe_process_partial_specialization): Handle
member class template when enclosing class template is
explicit specialized.
(most_general_template): Stop looking when DECL is already
specialized.

* g++.dg/template/spec7.C: New test.
* g++.dg/template/spec8.C: Likewise.

From-SVN: r64437
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog