aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-05-10 20:12:34 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2011-05-10 20:12:34 +0100
commit96703596c4a235c2c42f97ac354243853da80935 (patch)
tree68f386c4a5d024b30169b6d34365b5a00e79bfac /gcc/c-decl.c
parent955524371fecf607a7eacdc838594ce44c4a9c46 (diff)
downloadgcc-96703596c4a235c2c42f97ac354243853da80935.zip
gcc-96703596c4a235c2c42f97ac354243853da80935.tar.gz
gcc-96703596c4a235c2c42f97ac354243853da80935.tar.bz2
c-decl.c (c_override_global_bindings_to_false): Remove.
* c-decl.c (c_override_global_bindings_to_false): Remove. (global_bindings_p): Don't check c_override_global_bindings_to_false. * c-tree.h (c_override_global_bindings_to_false): Remove. * c-typeck.c (composite_type): Don't set c_override_global_bindings_to_false. From-SVN: r173632
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 6e359a9..3843f77 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -147,10 +147,6 @@ static int warn_about_return_type;
static bool undef_nested_function;
-/* True means global_bindings_p should return false even if the scope stack
- says we are in file scope. */
-bool c_override_global_bindings_to_false;
-
/* Each c_binding structure describes one binding of an identifier to
a decl. All the decls in a scope - irrespective of namespace - are
@@ -850,7 +846,7 @@ objc_mark_locals_volatile (void *enclosing_blk)
bool
global_bindings_p (void)
{
- return current_scope == file_scope && !c_override_global_bindings_to_false;
+ return current_scope == file_scope;
}
void