diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-01-16 08:21:16 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-01-16 08:21:16 -0500 |
commit | 43e046cbc1dbcc553365d1e807016a135b97008f (patch) | |
tree | 211d950fb2c344c41966f03cb8474f267444466f /gcc | |
parent | 3e53ea486098443845e08949c446679f3a59362e (diff) | |
download | gcc-43e046cbc1dbcc553365d1e807016a135b97008f.zip gcc-43e046cbc1dbcc553365d1e807016a135b97008f.tar.gz gcc-43e046cbc1dbcc553365d1e807016a135b97008f.tar.bz2 |
(emit_move_insn_1): Don't emit clobber when moving by parts and source
equals destination.
From-SVN: r11018
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |