Remove Feb 13's FUNCTION_NEEDS_STATIC_CHAIN changes.
authorPer Bothner <bothner@gcc.gnu.org>
Thu, 2 Mar 1995 03:40:59 +0000 (19:40 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Thu, 2 Mar 1995 03:40:59 +0000 (19:40 -0800)
From-SVN: r9107

gcc/c-decl.c
gcc/tree.h

index aa0fbe57892f3db8bfeded49b3e8789bf93e3b83..86c1024677da2f680773c552617ea9a9f7bea3ae 100644 (file)
@@ -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)));
index d2f07d071224a98b9d0987f05098e73bfb3f1dc6..5b66471bccb12f2ae4130871e8fbb42dde86634a 100644 (file)
@@ -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)