This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14500] most specialized function template vs. non-template function


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]