cp:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Feb 2005 13:45:42 +0000 (13:45 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Feb 2005 13:45:42 +0000 (13:45 +0000)
commit42510d7546a4163eb86d327f02192330d3509d50
tree6f729b6a58b61f7a435734962f2683174fe5b755
parenta1212c35003bd4ab215b2710a357346e6563488d
cp:
PR c++/19884
* pt.c (check_explicit_specialization): Make sure namespace
binding lookup found an overloaded function.
(lookup_template_function): Just assert FNS is an overloaded
function.

PR c++/19895
* decl.c (grokdeclarator): Check for error mark node in ptrmem
construction.
testsuite:
PR c++/19895
* g++.dg/parse/ptrmem3.C: New.

PR c++/19884
* g++.old-deja/g++.oliva/template6.C: Add another case.
* g++.dg/template/explicit6.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95009 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/ptrmem3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/explicit6.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.oliva/template6.C