summaryrefslogtreecommitdiff
path: root/gcc/ifcvt.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-31 11:07:14 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-31 11:07:14 +0000
commita186b63f6c68f053ce56b41d3d5bb59ddea80b72 (patch)
tree04a3da53654faf52761dce9827b100560db85ccd /gcc/ifcvt.c
parentbc9fb7d5d2ad1e683b039476c5d0323faa65439d (diff)
downloadgcc-a186b63f6c68f053ce56b41d3d5bb59ddea80b72.tar.gz
* ifcvt.c (noce_process_if_block): Make a copy of the destination
when copying back from a temporary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49369 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r--gcc/ifcvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c
index 5a9a85438f5..a7860e3ea4e 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 ();