From 870875e66e092ad6014972ad81dc6d7a2c25ea95 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Fri, 13 Nov 2009 21:05:56 +0100 Subject: * objc-act.c (objc_add_static_instance): Do not set DECL_COMMON. From-SVN: r154173 --- gcc/objc/ChangeLog | 4 ++++ gcc/objc/objc-act.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) 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 + + * objc-act.c (objc_add_static_instance): Do not set DECL_COMMON. + 2009-09-14 Richard Henderson * 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; -- cgit v1.1