This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch missing from development branch


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]