This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]