This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Visibility attribute (was: proposed change: weak symbol support for Darwin)
On Wed, Oct 15, 2003 at 08:55:20PM -0700, Matt Austern wrote:
> Caveat: I haven't tested this code yet, so it's quite possible
> there are typos and such. I'm posting it to show the general
> idea I have in mind. If people agree it's the right approach,
> then I'll test it and submit it as an official patch.
If there hadn't been two free bits, I'd be more hesitant to approve
this scheme. The thing you're missing in your calculations of how
much memory is used by these attributes are the auto variables.
I'm sure they dwarf global variables by a large margin.
But since you'd not be having to add another word of flags, then I
think this is ok.
r~