diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/objc/objc-act.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 5538a21..0a57d65b 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); |