From: Richard Kenner Date: Tue, 16 Jan 1996 13:21:16 +0000 (-0500) Subject: (emit_move_insn_1): Don't emit clobber when moving by parts and source X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43e046cbc1dbcc553365d1e807016a135b97008f;p=gcc.git (emit_move_insn_1): Don't emit clobber when moving by parts and source equals destination. From-SVN: r11018 --- 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;