diff options
author | Richard Henderson <rth@redhat.com> | 2004-08-26 17:27:24 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-08-26 17:27:24 -0700 |
commit | 525c6bf5a6b91fa09f57b79bad9737ab3733601d (patch) | |
tree | 1e34e5e9ca494cf80b9eeedaeeb9ab699cb921c7 /gcc/tree.h | |
parent | 81d1fb087780b62dbbb3994dfeeb93f76a9773cc (diff) | |
download | gcc-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |