This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: We're out of tree codes; now what?
On Wed, Mar 21, 2007 at 02:39:13PM -0400, Doug Gregor wrote:
> I suspect we would see a small increase in memory usage, because
> subcoded types would have to allocate some memory for
> TYPE_LANG_SPECIFIC to point at (it'll be only 4 bytes in most cases).
Well, that's not strictly necessary if you've got nothing but a type
code in it. Have a couple of constant TYPE_LANG_SPECIFIC instances
in rodata :-)
Which is less useful if you want to move things out of the common
tree, of course.
--
Daniel Jacobowitz
CodeSourcery