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++/44160] [C++0x] a mysterious error on __func__ in a lambda expression


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

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-16 22:09:32 UTC ---
Author: jason
Date: Thu Jun 16 22:09:28 2011
New Revision: 175123

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175123
Log:
    PR c++/44160
    * parser.c (cp_parser_lambda_body): Share code between
    simple and complex cases instead of using cp_parser_function_body.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-__func__.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


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