[Bug libobjc/49882] New: class_getSuperClass() returns nil on a newly allocated, but not registered, class
nicola at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 28 07:19:00 GMT 2011
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: unassigned@gcc.gnu.org
ReportedBy: nicola@gcc.gnu.org
>From Ludovic Marcotte <ludovic@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
More information about the Gcc-bugs
mailing list