This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Another caller-save buglet
- From: law at redhat dot com
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 12 Jun 2002 12:12:35 -0600
- Subject: Re: Another caller-save buglet
- Reply-to: law at redhat dot com
In message <20020611165233.A1840@redhat.com>, Richard Henderson writes:
> On Tue, Jun 11, 2002 at 05:07:47PM -0600, law@redhat.com wrote:
> > * caller-save.c (init_caller_save): Move creation of SAVEINSN
> > and RESTINSN into into the scope of the sequence.
>
> This of course begs the question of why we're using
> emit_insn at all, rather than gen_rtx_INSN. We
> wouldn't need the sequence either.
No reason. Interestingly enough, the only use of gen_rtx_INSN is in combine,
so there may be other places where we construct insns with emit_insn that
could be converted to use gen_rtx_INSN.
jeff