This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libobjc/23214] libobjc doesn't initialize protocols in some cases
- From: "nicola at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 13 Oct 2010 08:16:58 +0000
- Subject: [Bug libobjc/23214] libobjc doesn't initialize protocols in some cases
- Auto-submitted: auto-generated
- References: <bug-23214-4@http.gcc.gnu.org/bugzilla/>
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