From 61881daa8a8e1f60397faf8af34787cee305b40d Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Sat, 19 Jul 1997 06:30:30 +0000 Subject: [PATCH] x From-SVN: r14491 --- gcc/varasm.c | 4 ++-- 1 file 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; -- 2.30.2