This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libobjc/49882] class_getSuperClass() returns nil on a newly allocated, but not registered, class


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

--- Comment #1 from Nicola Pero <nicola at gcc dot gnu.org> 2011-08-06 09:49:33 UTC ---
Author: nicola
Date: Sat Aug  6 09:49:30 2011
New Revision: 177505

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177505
Log:
In libobjc/:
2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>

    PR libobjc/49882
    * class.c (class_getSuperclass): Return the superclass if the
    class is in construction.
    * objc/runtime.h (class_getSuperclass): Updated documentation.

In gcc/testsuite/:
2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>

    PR libobjc/49882
    * objc.dg/gnu-api-2-class.m (main): Test class_getSuperclass()
    with classes that are in construction.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/objc.dg/gnu-api-2-class.m
    trunk/libobjc/ChangeLog
    trunk/libobjc/class.c
    trunk/libobjc/objc/runtime.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]