This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/27438] [4.1/4.2/4.3 Regression] [unit-at-a-time] '_OBJC_INSTANCE_0' defined but not used warning
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2007 06:06:52 -0000
- Subject: [Bug objc/27438] [4.1/4.2/4.3 Regression] [unit-at-a-time] '_OBJC_INSTANCE_0' defined but not used warning
- References: <bug-27438-12637@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from pinskia at gcc dot gnu dot org 2007-01-24 06:06 -------
Subject: Bug 27438
Author: pinskia
Date: Wed Jan 24 06:06:29 2007
New Revision: 121104
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121104
Log:
2007-01-23 Andrew Pinski <pinskia@gmail.com>
PR objc/27438
* objc-act.c (objc_add_static_instance): Mark the decl as
TREE_USED.
2007-01-23 Andrew Pinski <pinskia@gmail.com>
PR objc/27438
* objc.dg/const-str-12.m: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/objc.dg/const-str-12.m
- copied unchanged from r121102,
trunk/gcc/testsuite/objc.dg/const-str-12.m
Modified:
branches/gcc-4_2-branch/gcc/objc/ChangeLog
branches/gcc-4_2-branch/gcc/objc/objc-act.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27438