(assemble_variable): Only treat vars with DECL_COMMON
authorJason Merrill <merrill@gnu.org>
Tue, 4 Jun 1996 23:42:33 +0000 (23:42 +0000)
committerJason Merrill <merrill@gnu.org>
Tue, 4 Jun 1996 23:42:33 +0000 (23:42 +0000)
        as common.

From-SVN: r12157

gcc/varasm.c

index 5702646ee84969b1d1cc9c3f314f694bb08b53ec..be29f74860937ef6ff68d76dfc6b632b4d5ed193 100644 (file)
@@ -1245,7 +1245,7 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
       /* If the target can't output uninitialized but not common global data
         in .bss, then we have to use .data.  */
 #if ! defined (ASM_OUTPUT_BSS) && ! defined (ASM_OUTPUT_ALIGNED_BSS)
-      && (DECL_COMMON (decl) || ! TREE_PUBLIC (decl))
+      && DECL_COMMON (decl)
 #endif
       && ! dont_output_data)
     {