projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d98c1e3
)
(create_builtin_decl): Set TREE_STATIC.
author
Richard Stallman
<rms@gnu.org>
Sun, 30 Aug 1992 21:05:48 +0000
(21:05 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 30 Aug 1992 21:05:48 +0000
(21:05 +0000)
Don't set DECL_EXTERNAL or TREE_PUBLIC.
From-SVN: r1997
gcc/objc/objc-act.c
patch
|
blob
|
history
diff --git
a/gcc/objc/objc-act.c
b/gcc/objc/objc-act.c
index 4be7fe78cd5db403cc0878d0418607d6a54fc375..9ffbd0fee2cce7d5dd9555295f78db2d7159fe7f 100644
(file)
--- a/
gcc/objc/objc-act.c
+++ b/
gcc/objc/objc-act.c
@@
-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);
}