re PR c++/11513 (ICE in push_template_decl_real cp/pt.c:2755, template member functions)
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Thu, 24 Jul 2003 11:56:33 +0000 (11:56 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Thu, 24 Jul 2003 11:56:33 +0000 (11:56 +0000)
commitf60a10e71defb7b9e57ec668dc3710424bffbdc6
treeae35b50248530a64ddb4420071d2d78af585dfd2
parent5aaaf0e82c664c022e8ffd2aaa34279978619f83
re PR c++/11513 (ICE in push_template_decl_real cp/pt.c:2755, template member functions)

PR c++/11513
* cp-tree.h (PROCESSING_REAL_TEMPLATE_DECL_P): Use current_scope.

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

From-SVN: r69739
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash8.C [new file with mode: 0644]