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++/51422] [c++0x] ICE with invalid lambda expression


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

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-10-07 23:06:20 UTC ---
Author: paolo
Date: Sun Oct  7 23:06:16 2012
New Revision: 192187

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192187
Log:
/cp
2012-10-07  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51422
    * semantics.c (is_normal_capture_proxy): Return true for
    error_mark_node as DECL_VALUE_EXPR.

/testsuite
2012-10-07  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51422
    * g++.dg/cpp0x/lambda/lambda-ice8.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice8.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.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]