diff options
author | Richard Henderson <rth@redhat.com> | 2002-12-11 10:28:26 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-12-11 10:28:26 -0800 |
commit | 5d5cd66f11e3ece08b4b4f34be9e77ff49a5f11a (patch) | |
tree | 93945825bb84bcf05fabc5de714eef864da800e0 /gcc/varasm.c | |
parent | 68d0a3d2797b1fef210c973c1dbf7db2a52ef83a (diff) | |
download | gcc-5d5cd66f11e3ece08b4b4f34be9e77ff49a5f11a.zip gcc-5d5cd66f11e3ece08b4b4f34be9e77ff49a5f11a.tar.gz gcc-5d5cd66f11e3ece08b4b4f34be9e77ff49a5f11a.tar.bz2 |
tree.h (MODULE_LOCAL_P): Kill.
* tree.h (MODULE_LOCAL_P): Kill.
* varasm.c (default_binds_local_p_1): Use decl_visibility instead.
From-SVN: r60040
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index f8b33d0..8b321af 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -5417,7 +5417,7 @@ default_binds_local_p_1 (exp, shlib) else if (! TREE_PUBLIC (exp)) local_p = true; /* A variable is local if the user tells us so. */ - else if (MODULE_LOCAL_P (exp)) + else if (decl_visibility (exp) != VISIBILITY_DEFAULT) local_p = true; /* Otherwise, variables defined outside this object may not be local. */ else if (DECL_EXTERNAL (exp)) |