Commit 2638126a by Bernd Schmidt Committed by Jeff Law

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
parent 8fca9b9a
Tue Jun 2 22:28:31 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
* expr.c (emit_move_insn_1): When moving complex values in several
steps, emit a CLOBBER to show the destination dies.
Tue Jun 2 22:17:26 1998 Jeffrey A Law (law@cygnus.com)
* expr.c (expand_expr, case ADDR_EXPR): Handle taking the
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment