This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/10315: [3.2/3.3 regression] [powerpc] ICE: in extract_insn, at recog.c:2175
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 24 Apr 03 07:46:23 EDT
- Subject: Re: optimization/10315: [3.2/3.3 regression] [powerpc] ICE: in extract_insn, at recog.c:2175
Second, gen_move_insn doesn't have nearly the sort of checks
performed by emit_move_insn. This is certainly a bug. IMO
gen_move_insn should be implemented as
rtx gen_move_insn (dst, src)
{
start_sequence ();
emit_move_insn (dst, src);
ret = get_insns ();
end_sequence ();
return ret;
}
I think that's wrong. If you want emit_move_insn, you should call it.
My understanding of gen_move_insn is that it's *not* a replacement for
emit_move_insn, but rather a shortcut when you know those checks
aren't needed.