projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9f115a
)
Remove spurious warnings of the like '__objc_class_ref_NSObject defined but
author
Nicola Pero
<nicola@gcc.gnu.org>
Tue, 8 Jan 2002 18:03:11 +0000
(18:03 +0000)
committer
Nicola Pero
<nicola@gcc.gnu.org>
Tue, 8 Jan 2002 18:03:11 +0000
(18:03 +0000)
not used'
From-SVN: r48648
gcc/objc/objc-act.c
patch
|
blob
|
history
diff --git
a/gcc/objc/objc-act.c
b/gcc/objc/objc-act.c
index 5538a21cb78032673ac01949ad4f11e84abe5b76..0a57d65b2ef71070aa370ba3ad38b25413d804a6 100644
(file)
--- 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);