diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-31 11:07:14 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-31 11:07:14 +0000 |
commit | a186b63f6c68f053ce56b41d3d5bb59ddea80b72 (patch) | |
tree | 04a3da53654faf52761dce9827b100560db85ccd /gcc/ifcvt.c | |
parent | bc9fb7d5d2ad1e683b039476c5d0323faa65439d (diff) | |
download | gcc-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.c | 2 |
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 (); |