aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-12-11 10:28:26 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-12-11 10:28:26 -0800
commit5d5cd66f11e3ece08b4b4f34be9e77ff49a5f11a (patch)
tree93945825bb84bcf05fabc5de714eef864da800e0 /gcc/tree.h
parent68d0a3d2797b1fef210c973c1dbf7db2a52ef83a (diff)
downloadgcc-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/tree.h')
-rw-r--r--gcc/tree.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index a675851..1dda21c 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2402,11 +2402,6 @@ extern tree merge_attributes PARAMS ((tree, tree));
extern tree merge_dllimport_decl_attributes PARAMS ((tree, tree));
#endif
-/* Return true if DECL will be always resolved to a symbol defined in the
- same module (shared library or program). */
-#define MODULE_LOCAL_P(DECL) \
- (lookup_attribute ("visibility", DECL_ATTRIBUTES (DECL)) != NULL)
-
/* Return a version of the TYPE, qualified as indicated by the
TYPE_QUALS, if one exists. If no qualified version exists yet,
return NULL_TREE. */