This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch missing from development branch
- To: egcs-patches at cygnus dot com
- Subject: Patch missing from development branch
- From: Bernd Schmidt <crux at Pool dot Informatik dot RWTH-Aachen dot DE>
- Date: Thu, 28 May 1998 11:37:38 +0200 (MET DST)
This patch was added in the egcs-1.0.2 release but never appeared in the
snapshots.
Bernd
Sun Feb 22 20:46: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.
diff -Nrc3p egcs-1.0.1/gcc/expr.c egcs-1.0.2/gcc/expr.c
*** egcs-1.0.1/gcc/expr.c Thu Nov 27 08:39:37 1997
--- egcs-1.0.2/gcc/expr.c Tue Feb 24 00:33:46 1998
*************** emit_move_insn_1 (x, y)
*** 2259,2264 ****
--- 2259,2268 ----
}
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)
diff -Nrc3p egcs-1.0.1/gcc/expr.h egcs-1.0.2/gcc/expr.h