aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 411e3f1..c0cd2ae 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -7602,17 +7602,6 @@ range_in_array_bounds_p (tree ref)
return true;
}
-/* Return true if T (assumed to be a DECL) is a global variable. */
-
-bool
-is_global_var (tree t)
-{
- if (MTAG_P (t))
- return (TREE_STATIC (t) || MTAG_GLOBAL (t));
- else
- return (TREE_STATIC (t) || DECL_EXTERNAL (t));
-}
-
/* Return true if T (assumed to be a DECL) must be assigned a memory
location. */