re PR c++/5125 (both g++ 3.0.1 and 2.95.3 crash with internal error when trying compi...
authorNathan Sidwell <nathan@codesourcery.com>
Sat, 29 Dec 2001 17:12:55 +0000 (17:12 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Sat, 29 Dec 2001 17:12:55 +0000 (17:12 +0000)
commitf3368a9098c3aa67ef422208978bf8df6353bc5a
tree354ae308751707a6a244e6e77df4cf138834626a
parent03c9c274624a94356dffd1cd62ff9669a8a1039a
re PR c++/5125 (both g++ 3.0.1 and 2.95.3 crash with internal error when trying compile template method with parameter pointer to method)

cp:
PR c++/5125
* pt.c (push_template_decl_real): Make sure DECL has
DECL_LANG_SPECIFIC.
testsuite:
* g++.dg/template/crash1.C: New test.

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