re PR c++/6723 (ICE on source code successfully compiled by previous versions)
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Thu, 20 Jun 2002 14:38:06 +0000 (14:38 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Thu, 20 Jun 2002 14:38:06 +0000 (14:38 +0000)
commit342cea9509fcfea8b53cfbb4c67ee6a74aff11cf
treed6b6776755002c9694317b9f538c87a867849cb0
parent5bc93be506e50bb4fdb79692cd9063c880c96601
re PR c++/6723 (ICE on source code successfully compiled by previous versions)

PR c++/6723
* pt.c (lookup_template_class): Don't build complete argument of
BOUND_TEMPLATE_TEMPLATE_PARM if appeared as a default template
argument.

* g++.dg/template/ttp4.C: New test.

From-SVN: r54831
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/ttp4.C [new file with mode: 0644]