From 43e046cbc1dbcc553365d1e807016a135b97008f Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 16 Jan 1996 08:21:16 -0500 Subject: [PATCH] (emit_move_insn_1): Don't emit clobber when moving by parts and source equals destination. From-SVN: r11018 --- gcc/expr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/expr.c b/gcc/expr.c index 60336c96eca..f2ed65c1277 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -2204,7 +2204,8 @@ emit_move_insn_1 (x, y) #endif /* Show the output dies here. */ - emit_insn (gen_rtx (CLOBBER, VOIDmode, x)); + if (x != y) + emit_insn (gen_rtx (CLOBBER, VOIDmode, x)); for (i = 0; i < (GET_MODE_SIZE (mode) + (UNITS_PER_WORD - 1)) / UNITS_PER_WORD; -- 2.30.2