diff options
author | Richard Henderson <rth@redhat.com> | 2003-01-10 15:07:53 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-01-10 15:07:53 -0800 |
commit | 7f24e7c59ce775c759d162350a5944a9c5f7ec3c (patch) | |
tree | fa8ab921708190e6938931bf525131f5a958d63b /gcc/config/alpha | |
parent | 99152b955c7b9774edb1c6aeab5b3fdfc3bc7054 (diff) | |
download | gcc-7f24e7c59ce775c759d162350a5944a9c5f7ec3c.zip gcc-7f24e7c59ce775c759d162350a5944a9c5f7ec3c.tar.gz gcc-7f24e7c59ce775c759d162350a5944a9c5f7ec3c.tar.bz2 |
* config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.
From-SVN: r61176
Diffstat (limited to 'gcc/config/alpha')
-rw-r--r-- | gcc/config/alpha/alpha.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index dbbf110..866c465 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -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. */ |