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++/44991] [4.4/4.5/4.6 Regression] default argument with '<' cause compilation error



------- Comment #3 from jason at gcc dot gnu dot org  2010-08-29 19:24 -------
Subject: Bug 44991

Author: jason
Date: Sun Aug 29 19:24:37 2010
New Revision: 163629

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163629
Log:
        PR c++/44991
        * parser.c (cp_parser_parameter_declaration): Pop parameter decls
        after tentative parsing.

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


-- 


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


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