This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46159] [4.5 Regression] Bogus warning about lambdas
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 2 Mar 2011 18:46:16 +0000
- Subject: [Bug c++/46159] [4.5 Regression] Bogus warning about lambdas
- Auto-submitted: auto-generated
- References: <bug-46159-4@http.gcc.gnu.org/bugzilla/>
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