re PR c++/12495 (ICE in cp/typeck.c:907)
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Sat, 18 Oct 2003 17:35:47 +0000 (17:35 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Sat, 18 Oct 2003 17:35:47 +0000 (17:35 +0000)
commit5f04800c283cf84eb51c7f641b5a57aee35a21e5
treee0d0d5427e19b9b6f74ebbf6a9d080c7173eebcb
parent3a198a72d26f430283d2906181315eb9ed622f8a
re PR c++/12495 (ICE in cp/typeck.c:907)

PR c++/12495
* pt.c (lookup_template_class): Handle when current_class_type
is a local class.

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

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