[Bug c++/13429] New: Tree checking failure during error recovery

ebotcazou at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Dec 18 08:28:00 GMT 2003


The testcase (derived from g++.old-deja/g++.other/crash34.C) causes a tree
checking failure:

crash34.C:14: error: field `X' has incomplete type
crash34.C:14: internal compiler error: tree check: expected class 't', have 'x'
(error_mark) in c_apply_type_quals_to_decl, at c-common.c:2829
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


This is a regression since GCC 3.3.3pre (w/ checking) returns:
crash34.C:14: error: field `X' has incomplete type
crash34.C: In function `void foo()':
crash34.C:22: error: `X' is not a member of type `w'

-- 
           Summary: Tree checking failure during error recovery
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Keywords: error-recovery, ice-checking
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list