From 1985ef9094cbb54814280a9d194c3c33c6747322 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 27 Aug 2002 19:19:45 +0200 Subject: [PATCH] * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem From-SVN: r56607 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/i386.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4cabb97363..6771a258b62 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Tue Aug 27 19:18:16 CEST 2002 Jan Hubicka + + * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem + Tue Aug 27 18:01:45 CEST 2002 Jan Hubicka * 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 7635037215d..3da2e432f70 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 */ } -- 2.11.4.GIT