re PR c++/5189 (g++ -c bug.cpp crashed on simple stupid file)
authorMark Mitchell <mark@codesourcery.com>
Sat, 13 Apr 2002 01:33:23 +0000 (01:33 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 13 Apr 2002 01:33:23 +0000 (01:33 +0000)
commit9928a3d53a7d5d2a9a2ac1d9012f86b475d1c4b6
treeeaf1462047a20855fe42368124b60aff8c336af9
parentc740732f62c3784700fa3d819af4f408f768dd48
re PR c++/5189 (g++ -c bug.cpp crashed on simple stupid file)

PR c++/5189.
* call.c (add_template_candidate_real): Do not treat member
templates as copy constructors.

PR c++/5189.
* g++.dg/template/copy1.C: New test.

From-SVN: r52260
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/copy1.C [new file with mode: 0644]