This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
ICE in gcc-2.95.2 and CVS 20000720 (cc1obj)
- To: gcc-bugs at gcc dot gnu dot org
- Subject: ICE in gcc-2.95.2 and CVS 20000720 (cc1obj)
- From: Matthias Klose <doko at cs dot tu-berlin dot de>
- Date: Sun, 23 Jul 2000 18:56:31 +0200 (MET DST)
- CC: 62309 at bugs dot debian dot org, Ovidiu Predescu <ovidiu at cup dot hp dot com>
[please CC 62309@bugs.debian.org on replies]
Class is only a forward declaration and provides no storage type.
@class Class;
@interface test
{
Class isa;
}
@end
@implementation test
@end
$ gcc bug-62309.m && ./a.out
bug-62309.m:5: field `isa' has incomplete type
bug-62309.m:6: Tree check: expected class 't', have 'x' (error_mark)
bug-62309.m:6: Internal compiler error in place_field, at stor-layout.c:741
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.