public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc/41108]  New: ICE in objc_build_ivar_assignment
@ 2009-08-18 17:30 jakub at gcc dot gnu dot org
  2009-08-18 17:32 ` [Bug objc/41108] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 4+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-08-18 17:30 UTC (permalink / raw)
  To: gcc-bugs

@interface O
{
}
@end

@protocol E
@end

@class F;
@interface G: O {
}
@end

@interface F: O <E> {
   G *g;
}
-(id)bar:(G *)baz;
@end

@implementation F
-(id)bar:(G *)baz {
   self->g = baz;
   return self;
}
@end

ICEs with -fobjc-gc -fgnu-runtime (works without -fobjc-gc or with -fobjc-gc
-fnext-runtime).  Apparently objc_assign_ivar_fast_decl and
objc_assign_ivar_decl are only initialized for next runtime, but are used
unconditionally even for GNU runtime.


-- 
           Summary: ICE in objc_build_ivar_assignment
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: objc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-22 21:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-41108-4@http.gcc.gnu.org/bugzilla/>
2010-10-24  3:40 ` [Bug objc/41108] ICE in objc_build_ivar_assignment nicola at gcc dot gnu.org
2010-11-22 21:33 ` nicola at gcc dot gnu.org
2010-11-22 21:38 ` nicola at gcc dot gnu.org
2009-08-18 17:30 [Bug objc/41108] New: " jakub at gcc dot gnu dot org
2009-08-18 17:32 ` [Bug objc/41108] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).