* objc-act.c (objc_add_static_instance): Do not set DECL_COMMON.
From-SVN: r154173
This commit is contained in:
parent
08d4cc3365
commit
870875e66e
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue