summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-08 18:03:11 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-08 18:03:11 +0000
commite1e52397d7dbf6c69c305c5fb9e45477b65d533b (patch)
treea40093a8e2b25b8496a0d9257c225b79f7c6bf7f
parent2f3b69d43e22dbc5879da7e59ca69d24df0f33e6 (diff)
downloadppe42-gcc-e1e52397d7dbf6c69c305c5fb9e45477b65d533b.tar.gz
ppe42-gcc-e1e52397d7dbf6c69c305c5fb9e45477b65d533b.zip
Remove spurious warnings of the like '__objc_class_ref_NSObject defined but
not used' git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48648 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/objc/objc-act.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 5538a21cb78..0a57d65b2ef 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -8308,6 +8308,7 @@ handle_class_ref (chain)
decl = build_decl (VAR_DECL, get_identifier (string), string_type_node);
DECL_INITIAL (decl) = exp;
TREE_STATIC (decl) = 1;
+ TREE_USED (decl) = 1;
pushdecl (decl);
rest_of_decl_compilation (decl, 0, 0, 0);
OpenPOWER on IntegriCloud