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 #4 from jason at gcc dot gnu dot org  2010-08-30 13:37 -------
Subject: Bug 44991

Author: jason
Date: Mon Aug 30 13:37:34 2010
New Revision: 163643

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

Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/parse/defarg15.C
Modified:
    branches/gcc-4_5-branch/gcc/cp/ChangeLog
    branches/gcc-4_5-branch/gcc/cp/parser.c
    branches/gcc-4_5-branch/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]