This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR32219


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]