This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ICE in gcc-2.95.2 and CVS 20000720 (cc1obj)


[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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]