(create_builtin_decl): Set TREE_STATIC.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 30 Aug 1992 21:05:48 +0000 (21:05 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 30 Aug 1992 21:05:48 +0000 (21:05 +0000)
Don't set DECL_EXTERNAL or TREE_PUBLIC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1997 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/objc/objc-act.c

index 4be7fe7..9ffbd0f 100644 (file)
@@ -496,8 +496,7 @@ create_builtin_decl (code, type, name)
   tree decl = build_decl (code, get_identifier (name), type);
   if (code == VAR_DECL)
     {
-      DECL_EXTERNAL (decl) = 1;
-      TREE_PUBLIC (decl) = 1;
+      TREE_STATIC (decl) = 1;
       make_decl_rtl (decl, 0, 1);
       pushdecl (decl);
     }