This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Updating INSN_STMT records.
- From: Jan Hubicka <jh at suse dot cz>
- To: Richard Henderson <rth at redhat dot com>, Jan Hubicka <jh at suse dot cz>,gcc-regression at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Mon, 3 Jun 2002 18:48:20 +0200
- Subject: Re: Updating INSN_STMT records.
- References: <200206031450.g53EoZB32399@maat.sfbay.redhat.com> <20020603150416.GD31879@atrey.karlin.mff.cuni.cz> <20020603092105.D13607@redhat.com>
> On Mon, Jun 03, 2002 at 05:04:16PM +0200, Jan Hubicka wrote:
> > What would you think about adding family of function
> > emit_insn_after_stmt/emit_insn_before_stmt and friends that do clone the
> > stmt from the passed instruction?
>
> Yes, that would be fine.
Actually I was thinking about it more, and we will definitly want to
behave differently in some other cases, so probably adding third
argument usually used as INSN_STMT (after) sounds more sensible to me.
I will try to prepare patch tonight or early tomorrow.
Honza
>
>
> r~