This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8640: template specialization bug #2 (gcc3.2)
- From: bangerth at dealii dot org
- To: bangerth at ticam dot utexas dot edu, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nbecker at fred dot net, nobody at gcc dot gnu dot org
- Date: 19 Nov 2002 15:49:02 -0000
- Subject: Re: c++/8640: template specialization bug #2 (gcc3.2)
- Reply-to: bangerth at dealii dot org, bangerth at ticam dot utexas dot edu, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nbecker at fred dot net, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: template specialization bug #2 (gcc3.2)
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Nov 19 07:49:01 2002
State-Changed-Why:
I had already confirmed this. The code in question is this:
--------------------------
template <typename T> class X {};
template<int shift, typename T> void foo (T x) { error; }
template<int shift, typename T> void foo (X<T> x) {}
int main () {
foo<1> (X<int>());
}
---------------------------
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8640