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++/51412] [c++0x] Broken diagnostic with invalid lambda expressions


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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2013-03-08 22:37:10 UTC ---
Author: paolo
Date: Fri Mar  8 22:37:04 2013
New Revision: 196563

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196563
Log:
/cp
2013-03-08  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51412
    * cxx-pretty-print.c (pp_cxx_expression): Handle LAMBDA_EXPR.
    * error.c (dump_expr): Likewise.

/testsuite
2013-03-08  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51412
    * g++.dg/cpp0x/lambda/lambda-err3.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-err3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cxx-pretty-print.c
    trunk/gcc/cp/error.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]