re PR c++/8511 ((hopefully) reproducible cc1plus SIGSEGV.)
authorMark Mitchell <mark@codesourcery.com>
Sat, 30 Nov 2002 21:57:32 +0000 (21:57 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 30 Nov 2002 21:57:32 +0000 (21:57 +0000)
commit65f8b0fbafee3584579c96a9a0efc27ff6ea4519
tree97af7edbd722cf6428fce54bed621cb699c06275
parentacb45e09fe1fb5189fa0f24235ee98fe3626b821
re PR c++/8511 ((hopefully) reproducible cc1plus SIGSEGV.)

PR c++/8511
* pt.c (instantiate_decl): Handle template friends defined outside
of the class correctly.

PR c++/8511
* g++.dg/template/friend8.C: New test.

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