aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/epiphany/resolve-sw-modes.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-25 17:16:51 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-25 17:16:51 +0000
commitbcfba653d9710ae743487bda72123d4881e2a5a3 (patch)
tree7e321ca4b880de166dc3be91e320c534fa57e677 /gcc/config/epiphany/resolve-sw-modes.c
parentaa4e645e7674aec77ae6466c81e5c4d974cbb70c (diff)
downloadgcc-bcfba653d9710ae743487bda72123d4881e2a5a3.zip
gcc-bcfba653d9710ae743487bda72123d4881e2a5a3.tar.gz
gcc-bcfba653d9710ae743487bda72123d4881e2a5a3.tar.bz2
config/epiphany: Use rtx_insn
gcc/ * config/epiphany/epiphany-protos.h (epiphany_final_prescan_insn): Strengthen first param "insn" from rtx to rtx_insn *. * config/epiphany/epiphany.c (epiphany_final_prescan_insn): Likewise. (frame_insn): Likewise for return type. Introduce local "insn" for use in place of local "x" for use as an rtx_insn *. (frame_move_insn): Strengthen return type from rtx to rtx_insn *. (epiphany_expand_prologue): Likewise for local "insn". * config/epiphany/mode-switch-use.c (insert_uses): Likewise. * config/epiphany/resolve-sw-modes.c (pass_resolve_sw_modes::execute): Likewise for locals "insn" and "seq". From-SVN: r214441
Diffstat (limited to 'gcc/config/epiphany/resolve-sw-modes.c')
-rw-r--r--gcc/config/epiphany/resolve-sw-modes.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/epiphany/resolve-sw-modes.c b/gcc/config/epiphany/resolve-sw-modes.c
index f40cc8d..47c11ff 100644
--- a/gcc/config/epiphany/resolve-sw-modes.c
+++ b/gcc/config/epiphany/resolve-sw-modes.c
@@ -77,7 +77,8 @@ unsigned
pass_resolve_sw_modes::execute (function *fun)
{
basic_block bb;
- rtx insn, src;
+ rtx_insn *insn;
+ rtx src;
vec<basic_block> todo;
sbitmap pushed;
bool need_commit = false;
@@ -155,7 +156,7 @@ pass_resolve_sw_modes::execute (function *fun)
FOR_EACH_EDGE (e, ei, bb->succs)
{
basic_block succ = e->dest;
- rtx seq;
+ rtx_insn *seq;
if (!REGNO_REG_SET_P (DF_LIVE_IN (succ), jilted_reg))
continue;