This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2861: Parser crashes while parsing a call a template function using the template keyword
- From: neroden at gcc dot gnu dot org
- To: anene at cup dot hp dot com, atrick at cup dot hp dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 1 Jan 2003 13:38:44 -0000
- Subject: Re: c++/2861: Parser crashes while parsing a call a template function using the template keyword
- Reply-to: neroden at gcc dot gnu dot org, anene at cup dot hp dot com, atrick at cup dot hp dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Parser crashes while parsing a call a template function using the template keyword
State-Changed-From-To: analyzed->closed
State-Changed-By: neroden
State-Changed-When: Wed Jan 1 05:38:43 2003
State-Changed-Why:
As of 2003-01-01, mainline gives for the original:
test.cxx: In function `int main()':
test.cxx:11: error: `template' (as a disambiguator) is only allowed within
templates
Which is correct.
Mainline compiles the revised testcase successfully.
Chalk another fix up to the new parser.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2861