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++/47242] [C++0x] ICE: tree check: expected field_decl, have error_mark in build_lambda_object, at cp/semantics.c:7604 on invalid lambda function


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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-02-23 00:37:46 UTC ---
Author: paolo
Date: Wed Feb 23 00:37:43 2011
New Revision: 170423

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170423
Log:
/cp
2011-02-22  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/47242
    * semantics.c (build_lambda_object): Bail out if a field is
    error_mark_node.

/testsuite
2011-02-22  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/47242
    * g++.dg/cpp0x/lambda/lambda-ice4.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice4.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]