aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/expr.c9
-rw-r--r--gcc/expr.h1
3 files changed, 5 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0185b6a..c1a7abb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
+ * expr.h (gen_move_insn_uncast): Delete.
+ * expr.c (gen_move_insn_uncast): Delete.
+
+2015-07-05 Richard Sandiford <richard.sandiford@arm.com>
+
* target-insns.def (restore_stack_block, restore_stack_function)
(restore_stack_nonlocal, save_stack_block, save_stack_function)
(save_stack_nonlocal): New targetm instruction patterns.
diff --git a/gcc/expr.c b/gcc/expr.c
index 87d2442..8c2b8bf 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -3625,15 +3625,6 @@ gen_move_insn (rtx x, rtx y)
return seq;
}
-/* Same as above, but return rtx (used as a callback, which must have
- prototype compatible with other functions returning rtx). */
-
-rtx
-gen_move_insn_uncast (rtx x, rtx y)
-{
- return gen_move_insn (x, y);
-}
-
/* If Y is representable exactly in a narrower mode, and the target can
perform the extension directly from constant or memory, then emit the
move as an extension. */
diff --git a/gcc/expr.h b/gcc/expr.h
index 8cf9720..32d1707 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -204,7 +204,6 @@ extern rtx store_by_pieces (rtx, unsigned HOST_WIDE_INT,
/* Emit insns to set X from Y. */
extern rtx_insn *emit_move_insn (rtx, rtx);
extern rtx_insn *gen_move_insn (rtx, rtx);
-extern rtx gen_move_insn_uncast (rtx, rtx);
/* Emit insns to set X from Y, with no frills. */
extern rtx_insn *emit_move_insn_1 (rtx, rtx);