aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1996-06-04 23:42:33 +0000
committerJason Merrill <merrill@gnu.org>1996-06-04 23:42:33 +0000
commitcd98bf12d510bbb0cb8a733577f3237fbae69123 (patch)
treef7ffe15b799782f88fc47f9a2ba827b1709349a9 /gcc/varasm.c
parentc77c286a724a0aef1c008516d840953a02700274 (diff)
downloadgcc-cd98bf12d510bbb0cb8a733577f3237fbae69123.zip
gcc-cd98bf12d510bbb0cb8a733577f3237fbae69123.tar.gz
gcc-cd98bf12d510bbb0cb8a733577f3237fbae69123.tar.bz2
(assemble_variable): Only treat vars with DECL_COMMON
as common. From-SVN: r12157
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 5702646..be29f74 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -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)
{