[Bug objc/18408] [4.0 Regression] ICE compiling code that involves casting classes

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 9 23:16:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-09 23:16 -------
Confirmed, reduced testcase:
@interface List
{
@public
  int firstLink;
}
@end

@interface ListIndex_linked
{
@public
  List *collection;
  int link;
}
@end

@interface List_linked: List
@end

@implementation List
@end

@implementation ListIndex_linked
- next
{
   link = ((List_linked*)collection)->firstLink;
}
@end

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|powerpc-apple-darwin7.5.0,  |
                   |i686-pc-linux-gnu           |
   GCC host triplet|powerpc-apple-darwin7.5.0,  |
                   |i686-pc-linux-gnu           |
 GCC target triplet|powerpc-apple-darwin7.5.0,  |
                   |i686-pc-linux-gnu           |
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-09 23:16:51
               date|                            |
            Summary|ICE compiling code that     |[4.0 Regression] ICE
                   |involves casting classes    |compiling code that involves
                   |                            |casting classes
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18408



More information about the Gcc-bugs mailing list