This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10845: [3.3/3.4 regression] template member function (getting a nested template as paramter) cannot be called anymore if another unrelated template member funciton is defined.
- From: giovannibajo at libero dot it
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, have at ann dot jussieu dot fr, nobody at gcc dot gnu dot org
- Date: 18 May 2003 19:51:46 -0000
- Subject: Re: c++/10845: [3.3/3.4 regression] template member function (getting a nested template as paramter) cannot be called anymore if another unrelated template member funciton is defined.
- Reply-to: giovannibajo at libero dot it, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, have at ann dot jussieu dot fr, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: `template method` not matched in template class
New Synopsis: [3.3/3.4 regression] template member function (getting a nested template as paramter) cannot be called anymore if another unrelated template member funciton is defined.
State-Changed-From-To: open->analyzed
State-Changed-By: bajo
State-Changed-When: Sun May 18 19:51:45 2003
State-Changed-Why:
Confirmed. The funny thing about this bug is that if you
remove the member functions g() and h(), the call to f()
succeeds.
I rate this as a regression because the above snippet
without h() compiles with 2.95 but fails on 3.x. The snippet
provided by the poster fails also with 2.95, but it's the
opposite problem: it manages to call f() but not g() and
h().
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10845