summaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authormerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1997-07-19 06:30:30 +0000
committermerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1997-07-19 06:30:30 +0000
commitfacec76880e8f05a6bded99d609f6be0330ab4fc (patch)
treef9be0a691bf1c28b0dbeef87bdf9a343149acbde /gcc/varasm.c
parentfd32c5bea8d0f22f5ba4b48e8f51f0bafce22a6c (diff)
downloadgcc-facec76880e8f05a6bded99d609f6be0330ab4fc.tar.gz
x
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14491 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index dae266244c8..e730a275f0f 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -541,7 +541,7 @@ bc_make_decl_rtl (decl, asmspec, top_level)
/* Can't use just the variable's own name for a variable
whose scope is less than the whole file.
Concatenate a distinguishing number. */
- if (!top_level && !DECL_EXTERNAL (decl) && asmspec == 0)
+ if (!top_level && !TREE_PUBLIC (decl) && asmspec == 0)
{
char *label;
@@ -748,7 +748,7 @@ make_decl_rtl (decl, asmspec, top_level)
/* Can't use just the variable's own name for a variable
whose scope is less than the whole file.
Concatenate a distinguishing number. */
- if (!top_level && !DECL_EXTERNAL (decl) && asmspec == 0)
+ if (!top_level && !TREE_PUBLIC (decl) && asmspec == 0)
{
char *label;