OSDN Git Service

PR objc/43061
[pf3gnuchains/gcc-fork.git] / gcc / objc / objc-act.c
index fae535c..10cc9bc 100644 (file)
@@ -1527,11 +1527,6 @@ finish_var_decl (tree var, tree initializer)
   /* We reserve the right for the runtime to use/modify these variables
      in ways that are opaque to us.  */
   DECL_PRESERVE_P (var) = 1;
-  /* ipa*.c/cgraphunit.c use lookup attribute rather than testing
-     DECL_PRESERVE_P.  Once they switch to testing DECL_PRESERVE_P,
-     this can be removed. */
-  DECL_ATTRIBUTES (var) = tree_cons (get_identifier ("used"), NULL, 
-                                    DECL_ATTRIBUTES (var)) ;
 }
 
 /* Find the decl for the constant string class reference.  This is only