]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/19884 (ICE on explicit instantiation of a non-template constructor)
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 14 Feb 2005 13:45:42 +0000 (13:45 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 14 Feb 2005 13:45:42 +0000 (13:45 +0000)
commit4230cec2f9ee41f4a33644a0b944eaaf0430dfdc
tree6f729b6a58b61f7a435734962f2683174fe5b755
parentd1fc3bbd80a4d4dff957b9eeb5ae463f3e8f55b1
re PR c++/19884 (ICE on explicit instantiation of a non-template constructor)

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.

From-SVN: r95009
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