[Bug c++/47795] [4.5/4.6 Regression] 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
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 18 17:24:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47795
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-02-18 17:22:19 UTC ---
Author: paolo
Date: Fri Feb 18 17:22:14 2011
New Revision: 170275
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170275
Log:
/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.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
More information about the Gcc-bugs
mailing list