re PR c++/47795 (internal compiler error: tree check: expected record_type or union_t...
authorPaolo Carlini <paolo@gcc.gnu.org>
Fri, 18 Feb 2011 17:24:29 +0000 (17:24 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 18 Feb 2011 17:24:29 +0000 (17:24 +0000)
commit4a16e6813387edc211094a97a5366e272dfa6512
tree00a6a1705b099096b8bb09ad6934917efec88dd8
parent1496e7d67b028d54ed7a2f0507d8c366057fa854
re PR c++/47795 (internal compiler error: tree check: expected record_type or union_type or qual_union_type, have error_mark in finish_non_static_data_member, at cp/semantics.c:1513)

/cp
2011-02-18  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/47795
* semantics.c (finish_non_static_data_member): Early return if
object is error_mark_node.

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

PR c++/47795
* g++.dg/cpp0x/lambda/lambda-ice3.C: New.

From-SVN: r170276
gcc/testsuite/ChangeLog