aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2002-08-27 19:19:45 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2002-08-27 17:19:45 +0000
commit1985ef9094cbb54814280a9d194c3c33c6747322 (patch)
treeb2cb62a3ff858bcf5139749094322ae5cf277fac
parent835cb22e3bb779908a8d418137d1ff35bc432c2c (diff)
downloadgcc-1985ef9094cbb54814280a9d194c3c33c6747322.zip
gcc-1985ef9094cbb54814280a9d194c3c33c6747322.tar.gz
gcc-1985ef9094cbb54814280a9d194c3c33c6747322.tar.bz2
* i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
From-SVN: r56607
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/i386.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c4cabb9..6771a25 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Tue Aug 27 19:18:16 CEST 2002 Jan Hubicka <jh@suse.cz>
+
+ * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
+
Tue Aug 27 18:01:45 CEST 2002 Jan Hubicka <jh@suse.cz>
* libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 7635037..3da2e43 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -8990,7 +8990,7 @@ ix86_expand_int_movcc (operands)
emit_insn (gen_rtx_SET (VOIDmode, out, tmp));
}
if (out != operands[0])
- emit_move_insn (operands[0], out);
+ emit_move_insn (operands[0], copy_rtx (out));
return 1; /* DONE */
}