aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-08-26 17:27:24 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-08-26 17:27:24 -0700
commit525c6bf5a6b91fa09f57b79bad9737ab3733601d (patch)
tree1e34e5e9ca494cf80b9eeedaeeb9ab699cb921c7 /gcc/tree.h
parent81d1fb087780b62dbbb3994dfeeb93f76a9773cc (diff)
downloadgcc-525c6bf5a6b91fa09f57b79bad9737ab3733601d.zip
gcc-525c6bf5a6b91fa09f57b79bad9737ab3733601d.tar.gz
gcc-525c6bf5a6b91fa09f57b79bad9737ab3733601d.tar.bz2
tree.c (staticp): Return the static object.
* tree.c (staticp): Return the static object. * tree.h (staticp): Update decl. * langhooks.h (struct lang_hooks): Change staticp return type to tree. * langhooks.c (lhd_staticp): Return NULL_TREE. * langhooks-def.h (lhd_staticp): Update decl. * c-common.c (c_staticp): Return the static object. * c-common.h (c_staticp): Update decl. From-SVN: r86650
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 0c26e88..bc0b141 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -3184,10 +3184,10 @@ extern int integer_pow2p (tree);
extern int integer_nonzerop (tree);
-/* staticp (tree x) is true if X is a reference to data allocated
- at a fixed address in memory. */
+/* staticp (tree x) is nonzero if X is a reference to data allocated
+ at a fixed address in memory. Returns the outermost data. */
-extern bool staticp (tree);
+extern tree staticp (tree);
/* save_expr (EXP) returns an expression equivalent to EXP
but it can be used multiple times within context CTX