diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-27 19:43:12 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-27 19:43:12 +0000 |
commit | c74ef30d7b26519a1786890296873e44b95ddabc (patch) | |
tree | 149fcf6e10857cf072b049b9475b399e22cba17f /gcc/ira-lives.c | |
parent | f11723d8cbd8e3f97eb49197aba9a9f5be3a221a (diff) | |
download | gcc-c74ef30d7b26519a1786890296873e44b95ddabc.zip gcc-c74ef30d7b26519a1786890296873e44b95ddabc.tar.gz gcc-c74ef30d7b26519a1786890296873e44b95ddabc.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ira-lives.c b/gcc/ira-lives.c index 916f492..9f0cff2 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)) { |