This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: One more optimize_mode_switching() problem
On Fri, Feb 09, 2001 at 04:24:43PM -0200, Alexandre Oliva wrote:
> + if (GET_CODE (eg->src->end) == JUMP_INSN)
> + emit_insn_before (mode_set, eg->src->end);
> + else
> + eg->src->end = emit_insn_after (mode_set, eg->src->end);
I havn't looked closely at the rest of the patch yet, but the most
common abnormal edge to the exit block is a sibling call. You should
be testing != INSN not == JUMP_INSN.
r~