This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14500] most specialized function template vs. non-template function
- From: "bkoz at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Apr 2004 23:16:45 -0000
- Subject: [Bug c++/14500] most specialized function template vs. non-template function
- References: <20040309045153.14500.bkoz@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bkoz at redhat dot com 2004-04-05 23:16 -------
Subject: Re: most specialized function template vs.
non-template function
>I've attached a patch for this bug, which I haven't been able to fully test
>because I'm on vacation. It would be nice to get this into 3.4.0, since it's a
>significant lack of functionality in strong using, but it could wait for 3.4.1.
I've tested this, and it looks like there are a couple of new failures.
FAIL: g++.dg/template/lookup5.C (test for excess errors)
FAIL: g++.old-deja/g++.ns/template12.C (test for excess errors)
FAIL: g++.old-deja/g++.ns/template13.C (test for excess errors)
FAIL: g++.old-deja/g++.pt/lookup10.C (test for excess errors)
Where the errors are:
FAIL: g++.dg/template/lookup5.C (test for excess errors)
Excess errors:
/mnt/hd/src/gcc/gcc/testsuite/g++.dg/template/lookup5.C:8: error: specializing `void N::f(T) [with T = int]' in different namespace
/mnt/hd/src/gcc/gcc/testsuite/g++.dg/template/lookup5.C:4: error: from definition of `template<class T> void N::f(T)'
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14500