re PR c++/47242 ([C++0x] ICE: tree check: expected field_decl, have error_mark in...
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 23 Feb 2011 00:37:43 +0000 (00:37 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 23 Feb 2011 00:37:43 +0000 (00:37 +0000)
commita26e0b8113f3a58fde9b98041140b301c4407c00
tree6f191d30d0d11b9693f93644a9ab60e272be6665
parentb152a6158e401ee9e3752b4403deadd91aec2418
re PR 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)

/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.

From-SVN: r170423
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice4.C [new file with mode: 0644]