* config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.
From-SVN: r61176
This commit is contained in:
parent
99152b955c
commit
7f24e7c59c
|
@ -1,3 +1,7 @@
|
|||
2003-01-10 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.
|
||||
|
||||
2003-01-10 Geoffrey Keating <geoffk@apple.com>
|
||||
|
||||
* ggc-page.c (ggc_collect): Avoid overflow computing
|
||||
|
|
|
@ -1842,7 +1842,9 @@ decl_has_samegp (decl)
|
|||
return true;
|
||||
|
||||
/* Functions that are not external are defined in this UoT. */
|
||||
return !DECL_EXTERNAL (decl);
|
||||
/* ??? Irritatingly, static functions not yet emitted are still
|
||||
marked "external". Apply this to non-static functions only. */
|
||||
return !TREE_PUBLIC (decl) || !DECL_EXTERNAL (decl);
|
||||
}
|
||||
|
||||
/* Return true if EXP should be placed in the small data section. */
|
||||
|
|
Loading…
Reference in New Issue