x
authorJason Merrill <merrill@gnu.org>
Sat, 19 Jul 1997 06:30:30 +0000 (06:30 +0000)
committerJason Merrill <merrill@gnu.org>
Sat, 19 Jul 1997 06:30:30 +0000 (06:30 +0000)
From-SVN: r14491

gcc/varasm.c

index dae2662..e730a27 100644 (file)
@@ -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;