From 2638126a5db71d18583e3c481658b7e39844694d Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Tue, 2 Jun 1998 21:30:26 +0000 Subject: expr.c (emit_move_insn_1): When moving complex values in several steps... * expr.c (emit_move_insn_1): When moving complex values in several steps, emit a CLOBBER to show the destination dies. Re-add patch. From-SVN: r20195 --- gcc/expr.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/expr.c') diff --git a/gcc/expr.c b/gcc/expr.c index 2aa514b..3370b5d 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -2288,6 +2288,10 @@ emit_move_insn_1 (x, y) } else { + /* Show the output dies here. */ + if (x != y) + emit_insn (gen_rtx (CLOBBER, VOIDmode, x)); + emit_insn (GEN_FCN (mov_optab->handlers[(int) submode].insn_code) (gen_realpart (submode, x), gen_realpart (submode, y))); emit_insn (GEN_FCN (mov_optab->handlers[(int) submode].insn_code) -- cgit v1.1