aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1997-07-19 06:30:30 +0000
committerJason Merrill <merrill@gnu.org>1997-07-19 06:30:30 +0000
commit61881daa8a8e1f60397faf8af34787cee305b40d (patch)
treef9be0a691bf1c28b0dbeef87bdf9a343149acbde /gcc/varasm.c
parentbc45e337af1d491e93341128deb6349b6b866077 (diff)
downloadgcc-61881daa8a8e1f60397faf8af34787cee305b40d.zip
gcc-61881daa8a8e1f60397faf8af34787cee305b40d.tar.gz
gcc-61881daa8a8e1f60397faf8af34787cee305b40d.tar.bz2
x
From-SVN: r14491
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 dae2662..e730a27 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;