mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-08 15:17:18 +08:00
x
From-SVN: r14491
This commit is contained in:
parent
bc45e337af
commit
61881daa8a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user