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/23214] libobjc doesn't initialize protocols in some cases


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

--- Comment #9 from Nicola Pero <nicola at gcc dot gnu.org> 2010-10-13 08:16:44 UTC ---
Author: nicola
Date: Wed Oct 13 08:16:42 2010
New Revision: 165414

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165414
Log:
In libobjc/:
2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>

        PR libobjc/23214
        * init.c (objc_init_statics): Do not skip the initialization of a
        statics list if the first object has already been initialized; in
        the case of Protocols, while the first one may have been
        initialized, some others may not have been initialized yet.

In gcc/testsuite/:
2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>

        PR libobjc/23214
        * objc.dg/pr23214.m: New.

Added:
    trunk/gcc/testsuite/objc.dg/pr23214.m
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libobjc/ChangeLog
    trunk/libobjc/init.c


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