From 74cb3cc87d024dab9cc33d732e0b6b8a1e8130f2 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Thu, 31 Jan 2002 11:07:14 +0000 Subject: 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 --- gcc/ifcvt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ifcvt.c') diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 5a9a854..a7860e3 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -1792,7 +1792,7 @@ noce_process_if_block (test_bb, then_bb, else_bb, join_bb) if (orig_x != x) { start_sequence (); - noce_emit_move_insn (orig_x, x); + noce_emit_move_insn (copy_rtx (orig_x), x); insn_b = gen_sequence (); end_sequence (); -- cgit v1.1