This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9660: use of template keyword to specify templated method cause ICE
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, maudouy at amadeus dot net, nobody at gcc dot gnu dot org
- Date: 14 Feb 2003 21:01:04 -0000
- Subject: Re: c++/9660: use of template keyword to specify templated method cause ICE
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, maudouy at amadeus dot net, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: use of template keyword to specify templated method cause ICE
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Fri Feb 14 21:01:03 2003
State-Changed-Why:
ICE confirmed with 3.2.2. 3.3 accepts the code, and
3.4 issues this message:
tmp/g> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
x.cc: In member function `FOO::A& FOO::B::getA(int, int)':
x.cc:28: error: `template' (as a disambiguator) is only allowed within
templates
So it's fixed.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9660