]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* objc-act.c (objc_add_static_instance): Do not set DECL_COMMON.
authorJan Hubicka <jh@suse.cz>
Fri, 13 Nov 2009 20:05:56 +0000 (21:05 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 13 Nov 2009 20:05:56 +0000 (20:05 +0000)
From-SVN: r154173

gcc/objc/ChangeLog
gcc/objc/objc-act.c

index 70f841be2bacad1c8a0af5daedc16f1937e5f2c7..4a18eadab1d93c5be7585e2d84fd21bffff82b5f 100644 (file)
@@ -1,3 +1,7 @@
+2009-09-14  Jan Hubicka  <jh@suse.cz>
+
+       * objc-act.c (objc_add_static_instance): Do not set DECL_COMMON.
+
 2009-09-14  Richard Henderson  <rth@redhat.com>
 
        * objc-act.c (objc_init_exceptions): Don't call
index eac7ff02f0937de90b8abf12c83453cc0a8b625e..6884cb17492f90c95cdb5a1e44d5d7520f138f16 100644 (file)
@@ -2038,7 +2038,6 @@ objc_add_static_instance (tree constructor, tree class_decl)
   sprintf (buf, "_OBJC_INSTANCE_%d", num_static_inst++);
   decl = build_decl (input_location,
                     VAR_DECL, get_identifier (buf), class_decl);
-  DECL_COMMON (decl) = 1;
   TREE_STATIC (decl) = 1;
   DECL_ARTIFICIAL (decl) = 1;
   TREE_USED (decl) = 1;