aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2007-03-28 15:01:08 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2007-03-28 15:01:08 +0000
commit1c2e50d8fadceb1ae4ad76ca24c2d180c499e73b (patch)
treec8b542c52ebd389d49caa0af70a3ae7838edfcb2 /gcc/tree.c
parenta2ca1ab2e999dadb5ef64af9a9adb06527e73b07 (diff)
downloadgcc-1c2e50d8fadceb1ae4ad76ca24c2d180c499e73b.zip
gcc-1c2e50d8fadceb1ae4ad76ca24c2d180c499e73b.tar.gz
gcc-1c2e50d8fadceb1ae4ad76ca24c2d180c499e73b.tar.bz2
tree.c (is_global_var): Move ...
2007-03-28 Richard Guenther <rguenther@suse.de> * tree.c (is_global_var): Move ... * tree-flow-inline.h (is_global_var): ... here. * tree.h (is_global_var): Remove declaration. From-SVN: r123303
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. */