[PATCH] PR32219

Jakub Jelinek jakub@redhat.com
Tue Mar 16 13:41:00 GMT 2010


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



More information about the Gcc-patches mailing list