This is the mail archive of the
mailing list for the GCC project.
Re: DECL_RTL vs. explicit make_decl_rtl calls
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: law at redhat dot com
- Cc: "David S. Miller" <davem at redhat dot com>, rth at redhat dot com, gcc at gcc dot gnu dot org,mark at codesourcery dot com
- Date: Thu, 13 Jun 2002 20:22:05 +0100
- Subject: Re: DECL_RTL vs. explicit make_decl_rtl calls
- References: <firstname.lastname@example.org> <email@example.com>
> The #2 abuser of garbage collected memory is make_node, also with 15%
> of the calls to allocate garbage collected memory. I haven't investigated
> this call chain at all.
Note that IDENTIFIER_NODE is never garbage collected, and should be
allocated separately from GC. They should not really be trees, either,
but that would take some fixing, but save a bunch of memory, as almost
all of struct tree_common is unused for them.