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++/46159] [4.5 Regression] Bogus warning about lambdas


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-02 18:46:04 UTC ---
Author: jason
Date: Wed Mar  2 18:46:01 2011
New Revision: 170622

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170622
Log:
    PR c++/46159
    * parser.c (cp_parser_primary_expression): Don't warn about a
    failed tentative parse.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-98.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


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