[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:27:00 GMT 2011


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

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-02-18 17:24:35 UTC ---
Author: paolo
Date: Fri Feb 18 17:24:29 2011
New Revision: 170276

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170276
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.

Modified:
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list