aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-objc-common.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-08-29 14:57:05 -0700
committerRichard Henderson <rth@gcc.gnu.org>2003-08-29 14:57:05 -0700
commit4b1e44bee1cc164e8b6660eae8980a0e52770f06 (patch)
tree4633005da8f64b1767538dcd1ee8920a7bf39820 /gcc/c-objc-common.c
parent05a5fba9c719bedb9584cdec2e677636038be449 (diff)
downloadgcc-4b1e44bee1cc164e8b6660eae8980a0e52770f06.zip
gcc-4b1e44bee1cc164e8b6660eae8980a0e52770f06.tar.gz
gcc-4b1e44bee1cc164e8b6660eae8980a0e52770f06.tar.bz2
c-tree.h (C_DECL_FILE_SCOPE): Move ...
* c-tree.h (C_DECL_FILE_SCOPE): Move ... * tree.h (DECL_FILE_SCOPE_P): ... here, and rename. * c-decl.c, c-objc-common.c, c-typeck.c: Update to match. From-SVN: r70925
Diffstat (limited to 'gcc/c-objc-common.c')
-rw-r--r--gcc/c-objc-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-objc-common.c b/gcc/c-objc-common.c
index 887175b..b5f263f 100644
--- a/gcc/c-objc-common.c
+++ b/gcc/c-objc-common.c
@@ -127,7 +127,7 @@ inline_forbidden_p (tree *nodep, int *walk_subtrees ATTRIBUTE_UNUSED,
/* We cannot inline a nested function that jumps to a nonlocal
label. */
if (TREE_CODE (t) == LABEL_DECL
- && !C_DECL_FILE_SCOPE (t) && DECL_CONTEXT (t) != fn)
+ && !DECL_FILE_SCOPE_P (t) && DECL_CONTEXT (t) != fn)
return node;
break;
@@ -184,7 +184,7 @@ c_cannot_inline_tree_fn (tree *fnp)
goto cannot_inline;
}
- if (! C_DECL_FILE_SCOPE (fn))
+ if (! DECL_FILE_SCOPE_P (fn))
{
/* If a nested function has pending sizes, we may have already
saved them. */