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

           Summary: class_getSuperClass() returns nil on a newly
                    allocated, but not registered, class
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libobjc
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: nic...@gcc.gnu.org


>From Ludovic Marcotte <ludo...@sophos.ca> --

> There's a bug with the gcc 4.6 runtime since objc_getSuperClass() on a newly 
> allocated - but not registered - class returns nil.

Unfortunately, this is actually a documented behaviour of the GCC 4.6 runtime,
so 
we can't really change it in GCC 4.6.x.

But if this is how the Apple runtime behaves, in 4.7.0 we should change our 
runtime (and the corresponding documentation) to match.

Thanks

Reply via email to