diff options
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 fe702fb2150..7de8cde7faa 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; } |