aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-09-12 14:04:35 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-09-12 14:04:35 +0000
commita5d567ec327cae776e9b9722f521f9f55fa45e0b (patch)
tree78ad1dd1d3c8eba4f83335c896ef28b99808581b /gcc/config
parentbc5022d0114c306684f4f21c91716fb91c83fdc6 (diff)
downloadgcc-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/config')
-rw-r--r--gcc/config/alpha/alpha.c2
-rw-r--r--gcc/config/sh/sh.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index a011daf..1fdde29 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -5001,7 +5001,7 @@ alpha_ra_ever_killed (void)
top = get_insns ();
pop_topmost_sequence ();
- return reg_set_between_p (gen_rtx_REG (Pmode, REG_RA), top, NULL_RTX);
+ return reg_set_between_p (gen_rtx_REG (Pmode, REG_RA), top, NULL);
}
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c
index 8c1da68..2f0f298 100644
--- a/gcc/config/sh/sh.c
+++ b/gcc/config/sh/sh.c
@@ -6281,7 +6281,8 @@ sh_reorg (void)
/* Scan ahead looking for a barrier to stick the constant table
behind. */
rtx_insn *barrier = find_barrier (num_mova, mova, insn);
- rtx last_float_move = NULL_RTX, last_float = 0, *last_float_addr = NULL;
+ rtx_insn *last_float_move = NULL;
+ rtx last_float = 0, *last_float_addr = NULL;
int need_aligned_label = 0;
if (num_mova && ! mova_p (mova))