summaryrefslogtreecommitdiff
path: root/gcc/ira-lives.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-27 19:43:12 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-27 19:43:12 +0000
commitc74ef30d7b26519a1786890296873e44b95ddabc (patch)
tree149fcf6e10857cf072b049b9475b399e22cba17f /gcc/ira-lives.c
parentf11723d8cbd8e3f97eb49197aba9a9f5be3a221a (diff)
downloadgcc-c74ef30d7b26519a1786890296873e44b95ddabc.tar.gz
Tweak to ira-lives.c
gcc/ 2014-08-27 David Malcolm <dmalcolm@redhat.com> * ira-lives.c (find_call_crossed_cheap_reg): Strengthen local "prev" from rtx to rtx_insn *. From-SVN: r214587
Diffstat (limited to 'gcc/ira-lives.c')
-rw-r--r--gcc/ira-lives.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ira-lives.c b/gcc/ira-lives.c
index 916f49224c4..9f0cff2afb6 100644
--- a/gcc/ira-lives.c
+++ b/gcc/ira-lives.c
@@ -1004,7 +1004,7 @@ find_call_crossed_cheap_reg (rtx_insn *insn)
{
basic_block bb = BLOCK_FOR_INSN (insn);
rtx reg = SET_SRC (exp);
- rtx prev = PREV_INSN (insn);
+ rtx_insn *prev = PREV_INSN (insn);
while (prev && !(INSN_P (prev)
&& BLOCK_FOR_INSN (prev) != bb))
{