This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR32219
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Bernhard Reutner-Fischer <rep dot dot dot nop at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, rguenth at gcc dot gnu dot org
- Date: Tue, 16 Mar 2010 14:41:00 +0100
- Subject: Re: [PATCH] PR32219
- References: <1268746947-32108-1-git-send-email-rep.dot.nop@gmail.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Mar 16, 2010 at 02:42:27PM +0100, Bernhard Reutner-Fischer wrote:
> + /* Weak data can be overridden by a strong symbol
> + in another module and so are not local. */
> + else if (DECL_WEAK (exp))
> + local_p = false;
I don't think this is the right wording for non-default visibility weak.
hidden weak can't be overridden by something non-local, all that is possible
is that it is not defined at all.
Jakub