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++/43886] [C++0x] name lookup failure on un-used local variable in lambda compound-statement


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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-03 01:25:47 UTC ---
Author: jason
Date: Wed Aug  3 01:25:44 2011
New Revision: 177228

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177228
Log:
    PR c++/43886
    * parser.c (cp_parser_lambda_body): Clear local_variables_forbidden_p.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-defarg2.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/parser.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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