diff options
author | Jan Hubicka <jh@suse.cz> | 2009-11-13 21:05:56 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2009-11-13 20:05:56 +0000 |
commit | 870875e66e092ad6014972ad81dc6d7a2c25ea95 (patch) | |
tree | 8a7c23bb4f9e5db12cf8f11831f4183ff43caad7 | |
parent | 08d4cc3365fe71486d9305604ed8590a248afd26 (diff) | |
download | gcc-870875e66e092ad6014972ad81dc6d7a2c25ea95.zip gcc-870875e66e092ad6014972ad81dc6d7a2c25ea95.tar.gz gcc-870875e66e092ad6014972ad81dc6d7a2c25ea95.tar.bz2 |
* objc-act.c (objc_add_static_instance): Do not set DECL_COMMON.
From-SVN: r154173
-rw-r--r-- | gcc/objc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 70f841b..4a18ead 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -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 diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index eac7ff0..6884cb1 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -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; |