(create_builtin_decl): Set TREE_STATIC.
Don't set DECL_EXTERNAL or TREE_PUBLIC. From-SVN: r1997
This commit is contained in:
parent
d98c1e3389
commit
ed9eaf9bb8
|
@ -496,8 +496,7 @@ create_builtin_decl (code, type, name)
|
||||||
tree decl = build_decl (code, get_identifier (name), type);
|
tree decl = build_decl (code, get_identifier (name), type);
|
||||||
if (code == VAR_DECL)
|
if (code == VAR_DECL)
|
||||||
{
|
{
|
||||||
DECL_EXTERNAL (decl) = 1;
|
TREE_STATIC (decl) = 1;
|
||||||
TREE_PUBLIC (decl) = 1;
|
|
||||||
make_decl_rtl (decl, 0, 1);
|
make_decl_rtl (decl, 0, 1);
|
||||||
pushdecl (decl);
|
pushdecl (decl);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue