This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to fix emit_insn_before
- To: John Wehle <john at feith dot com>
- Subject: Re: Patch to fix emit_insn_before
- From: Richard Henderson <rth at cygnus dot com>
- Date: Wed, 12 Jan 2000 18:29:04 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200001120727.CAA07963@jwlab.FEITH.COM>
On Wed, Jan 12, 2000 at 02:27:01AM -0500, John Wehle wrote:
> This patch fixes a problem which occurs when adding a sequence
> to the beginning of a basic block. Currently the last insn of
> the sequence is returned which causes problems when updating
> the basic block head (it causes the other insns in the sequence
> to be stranded between basic blocks).
Who, exactly, is depending on this? We've always returned
the last insn of the sequence. Changing this would mean
auditing all existing uses of emit_insn_before.
r~