This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57] [DR 325] GCC can't parse a non-parenthesized comma in a template-id within a default argument
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Apr 2008 20:44:23 -0000
- Subject: [Bug c++/57] [DR 325] GCC can't parse a non-parenthesized comma in a template-id within a default argument
- References: <bug-57-797@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #36 from jason at gcc dot gnu dot org 2008-04-28 20:44 -------
Subject: Bug 57
Author: jason
Date: Mon Apr 28 20:43:27 2008
New Revision: 134762
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134762
Log:
PR c++/57
* parser.c (cp_parser_parameter_declaration): Handle < ambiguity
in default arguments.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/g++.old-deja/g++.pt/defarg8.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57