diff options
author | Bernardo Innocenti <bernie@develer.com> | 2004-07-25 05:13:12 +0200 |
---|---|---|
committer | Bernardo Innocenti <bernie@gcc.gnu.org> | 2004-07-25 05:13:12 +0200 |
commit | 43050a72d15f7f4b6acb306576b0196bea15f67b (patch) | |
tree | f5a409d92c6d688235588a0700590a9f50897cde /gcc/c-common.c | |
parent | ea06b1666dbe93688e73d088c07edfc14568c96f (diff) | |
download | gcc-43050a72d15f7f4b6acb306576b0196bea15f67b.zip gcc-43050a72d15f7f4b6acb306576b0196bea15f67b.tar.gz gcc-43050a72d15f7f4b6acb306576b0196bea15f67b.tar.bz2 |
* c-common.c (c_staticp): Last episode of the staticp saga.
From-SVN: r85138
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index fe702fb..7de8cde 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -3837,13 +3837,13 @@ c_common_unsafe_for_reeval (tree exp) /* Hook used by staticp to handle language-specific tree codes. */ -int +bool c_staticp (tree exp) { if (TREE_CODE (exp) == COMPOUND_LITERAL_EXPR && TREE_STATIC (COMPOUND_LITERAL_EXPR_DECL (exp))) - return 1; - return 0; + return true; + return false; } |