aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorJ"orn Rennecke <amylaar@redhat.com>2001-07-16 17:18:48 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2001-07-16 18:18:48 +0100
commitcccf0ae876d131ddbd43c946a02ebeaebad7c6e1 (patch)
treebeaaaf0456096efb8f9d9d9a27d79442703d9f96 /gcc/gcse.c
parent03a8de49b8883f3938ca1289affb23ad9af15dd9 (diff)
downloadgcc-cccf0ae876d131ddbd43c946a02ebeaebad7c6e1.zip
gcc-cccf0ae876d131ddbd43c946a02ebeaebad7c6e1.tar.gz
gcc-cccf0ae876d131ddbd43c946a02ebeaebad7c6e1.tar.bz2
gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of gen_rtx_SET.
* gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of gen_rtx_SET. From-SVN: r44048
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index c9941b6..eecd0d8 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -4927,8 +4927,7 @@ pre_insert_copy_insn (expr, insn)
if (!set)
abort ();
- new_insn = emit_insn_after (gen_rtx_SET (VOIDmode, reg, SET_DEST (set)),
- insn);
+ new_insn = emit_insn_after (gen_move_insn (reg, SET_DEST (set)), insn);
/* Keep block number table up to date. */
set_block_for_new_insns (new_insn, bb);