* objc-act.c (objc_add_static_instance): Do not set DECL_COMMON.

From-SVN: r154173
This commit is contained in:
Jan Hubicka 2009-11-13 21:05:56 +01:00 committed by Jan Hubicka
parent 08d4cc3365
commit 870875e66e
2 changed files with 4 additions and 1 deletions

View 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

View 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;