[Bug c++/46159] [4.5 Regression] Bogus warning about lambdas
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 2 18:46:00 GMT 2011
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
More information about the Gcc-bugs
mailing list