From 9c58793af54226c898ae27c913a8f9d85bbf948c Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Sun, 5 Jul 2015 07:55:03 +0000 Subject: [PATCH] expr.h (gen_move_insn_uncast): Delete. gcc/ * expr.h (gen_move_insn_uncast): Delete. * expr.c (gen_move_insn_uncast): Delete. From-SVN: r225427 --- gcc/ChangeLog | 5 +++++ gcc/expr.c | 9 --------- gcc/expr.h | 1 - 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0185b6a987e..c1a7abbd384 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-07-05 Richard Sandiford + + * expr.h (gen_move_insn_uncast): Delete. + * expr.c (gen_move_insn_uncast): Delete. + 2015-07-05 Richard Sandiford * target-insns.def (restore_stack_block, restore_stack_function) diff --git a/gcc/expr.c b/gcc/expr.c index 87d24422312..8c2b8bf080b 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 8cf9720484a..32d17077e2e 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); -- 2.30.2