URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* We used to ICE because we removed the cast to List_linked*
|
/* We used to ICE because we removed the cast to List_linked*
|
in -[ListIndex_linked next]. */
|
in -[ListIndex_linked next]. */
|
|
|
@interface List
|
@interface List
|
{
|
{
|
@public
|
@public
|
int firstLink;
|
int firstLink;
|
}
|
}
|
@end
|
@end
|
|
|
@interface ListIndex_linked
|
@interface ListIndex_linked
|
{
|
{
|
@public
|
@public
|
List *collection;
|
List *collection;
|
int link;
|
int link;
|
}
|
}
|
@end
|
@end
|
|
|
@interface List_linked: List
|
@interface List_linked: List
|
@end
|
@end
|
|
|
@implementation List
|
@implementation List
|
@end
|
@end
|
|
|
@implementation ListIndex_linked
|
@implementation ListIndex_linked
|
- next
|
- next
|
{
|
{
|
link = ((List_linked*)collection)->firstLink;
|
link = ((List_linked*)collection)->firstLink;
|
}
|
}
|
@end
|
@end
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.