This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/38485] [4.4 Regression] GCC can't parse a parenthesized comma in a template-id within a default argument



------- Comment #7 from jason at gcc dot gnu dot org  2008-12-18 15:56 -------
Subject: Bug 38485

Author: jason
Date: Thu Dec 18 15:54:59 2008
New Revision: 142815

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142815
Log:
        PR c++/38485
        * parser.c (cp_parser_token_starts_cast_expression): An EOF
        can't start a cast-expression.

Added:
    trunk/gcc/testsuite/g++.dg/parse/defarg13.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38485


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]