Commit 74cb3cc8 by Richard Sandiford Committed by Richard Sandiford

ifcvt.c (noce_process_if_block): Make a copy of the destination when copying back from a temporary.

	* ifcvt.c (noce_process_if_block): Make a copy of the destination
	when copying back from a temporary.

From-SVN: r49369
parent 98367224
2002-01-31 Richard Sandiford <rsandifo@redhat.com>
* ifcvt.c (noce_process_if_block): Make a copy of the destination
when copying back from a temporary.
2002-01-30 Richard Henderson <rth@redhat.com> 2002-01-30 Richard Henderson <rth@redhat.com>
* ifcvt.c (dead_or_predicable): Handling merging when other_bb * ifcvt.c (dead_or_predicable): Handling merging when other_bb
......
...@@ -1792,7 +1792,7 @@ noce_process_if_block (test_bb, then_bb, else_bb, join_bb) ...@@ -1792,7 +1792,7 @@ noce_process_if_block (test_bb, then_bb, else_bb, join_bb)
if (orig_x != x) if (orig_x != x)
{ {
start_sequence (); start_sequence ();
noce_emit_move_insn (orig_x, x); noce_emit_move_insn (copy_rtx (orig_x), x);
insn_b = gen_sequence (); insn_b = gen_sequence ();
end_sequence (); end_sequence ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment