diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1995-03-01 19:40:59 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1995-03-01 19:40:59 -0800 |
commit | 6f09c35cdebf2ab0dd8ad0f254ee57bde8b866cc (patch) | |
tree | 5b987b71ce9d01d564baa328e4dbec23677ef74f | |
parent | b001a02f29a98c6363df45d523f21378e0c1e516 (diff) | |
download | gcc-6f09c35cdebf2ab0dd8ad0f254ee57bde8b866cc.zip gcc-6f09c35cdebf2ab0dd8ad0f254ee57bde8b866cc.tar.gz gcc-6f09c35cdebf2ab0dd8ad0f254ee57bde8b866cc.tar.bz2 |
Remove Feb 13's FUNCTION_NEEDS_STATIC_CHAIN changes.
From-SVN: r9107
-rw-r--r-- | gcc/c-decl.c | 3 | ||||
-rw-r--r-- | gcc/tree.h | 7 |
2 files changed, 0 insertions, 10 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index aa0fbe5..86c1024 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -4884,9 +4884,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized) if (extern_ref) DECL_EXTERNAL (decl) = 1; - else if (current_function_decl != NULL_TREE) - FUNCTION_NEEDS_STATIC_CHAIN (decl) = 1; - /* Record absence of global scope for `static' or `auto'. */ TREE_PUBLIC (decl) = !(specbits & ((1 << (int) RID_STATIC) | (1 << (int) RID_AUTO))); @@ -947,13 +947,6 @@ struct tree_type alternative would be passed. */ #define DECL_TRANSPARENT_UNION(NODE) ((NODE)->decl.transparent_union) -/* In a FUNCTION_DECL, zero means it is a nested function that needs - a trampoline (closure). If nonzero, it is a normal function. - (A nested function can be static if it doesn't need to reference - stack variables in a surrounding function.) - This is unrelated to whether a function is static in the C sense. */ -#define FUNCTION_NEEDS_STATIC_CHAIN(NODE) ((NODE)->decl.transparent_union) - /* Used in FUNCTION_DECLs to indicate that they should be run automatically at the beginning or end of execution. */ #define DECL_STATIC_CONSTRUCTOR(NODE) ((NODE)->decl.static_ctor_flag) |