GCC Bugzilla – Attachment 7506 Details for
Bug 18408
[4.0 Regression] ICE compiling code that involves casting classes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Code that causes ICE to Objective C compiler
in.m (text/plain), 493 bytes, created by
Marcus Daniels
on 2004-11-09 22:51:59 UTC
(
hide
)
Description:
Code that causes ICE to Objective C compiler
Filename:
MIME Type:
Creator:
Marcus Daniels
Created:
2004-11-09 22:51:59 UTC
Size:
493 bytes
patch
obsolete
>#ifndef CAST_TYPE >#define CAST_TYPE List_linked >#endif > >typedef struct link *link_t; > >struct link { > link_t nextLink; >}; > >@interface List >{ >@public > link_t firstLink; >} >@end > >@interface ListIndex_linked >{ >@public > List *collection; > link_t link; >} > >@end > >@interface List_linked: List >@end > >@implementation List >@end > >@implementation ListIndex_linked >- next >{ > if (link->nextLink != ((CAST_TYPE *) collection)->firstLink) > { > } >} >@end > >int main (int argc, const char **argv) {}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 18408
: 7506