This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13429] New: Tree checking failure during error recovery
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Dec 2003 08:02:31 -0000
- Subject: [Bug c++/13429] New: Tree checking failure during error recovery
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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