* 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
+2011-05-10 Joseph Myers <joseph@codesourcery.com>
+
+ * 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.
+
2011-05-10 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/48857, 48495
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;
-
\f
/* Each c_binding structure describes one binding of an identifier to
a decl. All the decls in a scope - irrespective of namespace - are
bool
global_bindings_p (void)
{
- return current_scope == file_scope && !c_override_global_bindings_to_false;
+ return current_scope == file_scope;
}
void
extern int system_header_p;
-/* True means global_bindings_p should return false even if the scope stack
- says we are in file scope. */
-
-extern bool c_override_global_bindings_to_false;
-
/* In c-decl.c */
extern void c_finish_incomplete_decl (tree);
extern void c_write_global_declarations (void);
/* If both args specify argument types, we must merge the two
lists, argument by argument. */
- /* Tell global_bindings_p to return false so that variable_size
- doesn't die on VLAs in parameter types. */
- c_override_global_bindings_to_false = true;
len = list_length (p1);
newargs = 0;
parm_done: ;
}
- c_override_global_bindings_to_false = false;
t1 = build_function_type (valtype, newargs);
t1 = qualify_type (t1, t2);
/* ... falls through ... */