diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-09-12 14:04:35 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-09-12 14:04:35 +0000 |
commit | a5d567ec327cae776e9b9722f521f9f55fa45e0b (patch) | |
tree | 78ad1dd1d3c8eba4f83335c896ef28b99808581b /gcc/rtlanal.c | |
parent | bc5022d0114c306684f4f21c91716fb91c83fdc6 (diff) | |
download | gcc-a5d567ec327cae776e9b9722f521f9f55fa45e0b.zip gcc-a5d567ec327cae776e9b9722f521f9f55fa45e0b.tar.gz gcc-a5d567ec327cae776e9b9722f521f9f55fa45e0b.tar.bz2 |
params 2 and 3 of reg_set_between_p
gcc/ChangeLog:
* config/alpha/alpha.c (alpha_ra_ever_killed): Replace NULL_RTX
with NULL when dealing with an insn.
* config/sh/sh.c (sh_reorg): Strengthen local "last_float_move"
from rtx to rtx_insn *.
* rtl.h (reg_set_between_p): Strengthen params 2 and 3 from
const_rtx to const rtx_insn *.
* rtlanal.c (reg_set_between_p): Likewise, removing a checked cast.
From-SVN: r215222
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 299b8162..e361f0f 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -947,10 +947,9 @@ reg_referenced_p (const_rtx x, const_rtx body) FROM_INSN and TO_INSN (exclusive of those two). */ int -reg_set_between_p (const_rtx reg, const_rtx uncast_from_insn, const_rtx to_insn) +reg_set_between_p (const_rtx reg, const rtx_insn *from_insn, + const rtx_insn *to_insn) { - const rtx_insn *from_insn = - safe_as_a <const rtx_insn *> (uncast_from_insn); const rtx_insn *insn; if (from_insn == to_insn) |