From: Jan Hubicka Date: Tue, 27 Aug 2002 17:19:45 +0000 (+0200) Subject: * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem X-Git-Tag: releases/gcc-3.3.0~3147 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1985ef9094cbb54814280a9d194c3c33c6747322;p=thirdparty%2Fgcc.git * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem From-SVN: r56607 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4cabb973639..6771a258b62a 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 7635037215d5..3da2e432f70f 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 */ }