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; 2+ 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] 2+ messages in thread

* [Bug objc/41108] ICE in objc_build_ivar_assignment
  2009-08-18 17:30 [Bug objc/41108] New: ICE in objc_build_ivar_assignment jakub at gcc dot gnu dot org
@ 2009-08-18 17:32 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-08-18 17:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-08-18 17:32 -------
-fobjc-gc should error out for the GNU runtime.


-- 


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


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

end of thread, other threads:[~2009-08-18 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-18 17:30 [Bug objc/41108] New: ICE in objc_build_ivar_assignment 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).