This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: memory is not free
- To: Alex Samuel <samuel at codesourcery dot com>
- Subject: Re: memory is not free
- From: Richard Henderson <rth at cygnus dot com>
- Date: Wed, 1 Dec 1999 19:10:59 -0800
- Cc: Per Bothner <per at bothner dot com>, Mike Stump <mrs at windriver dot com>, gcc-patches at gcc dot gnu dot org, mark at codesourcery dot com
- References: <199911302223.OAA16724@kankakee.wrs.com> <m2u2m3y523.fsf@magnus.bothner.com> <14404.55246.365033.493240@coriander.indetermi.net>
On Wed, Dec 01, 1999 at 12:09:50AM -0800, Alex Samuel wrote:
> ! case 'e': case 'u':
> ! exp = XEXP (r, i);
> ! if (ggc_test_and_set_mark (exp))
> ! {
> ! if (next_rtx == NULL)
> ! next_rtx = exp;
> ! else
> ! ggc_mark_rtx_children (exp);
> ! }
We might want to special-case the instruction rtxes. I would imagine
that we could keep the nesting depth significantly lower by forcing
NEXT_INSN to be the rtx we optimize for the tail call.
r~