aboutsummaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2016-09-22 13:16:35 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2016-09-22 13:16:35 +0000
commit1f00691e9b28370c9e9986afc46dd9f7c42024bc (patch)
treed6909c3f9e76c396339eb33e04190c171dbd81db /gcc/jump.c
parentd8fd56b22635e30177b2849de33b4c6d5ef6c422 (diff)
downloadgcc-1f00691e9b28370c9e9986afc46dd9f7c42024bc.zip
gcc-1f00691e9b28370c9e9986afc46dd9f7c42024bc.tar.gz
gcc-1f00691e9b28370c9e9986afc46dd9f7c42024bc.tar.bz2
make next/prev nonnote_nondebug_insn take rtx_insn *
gcc/ChangeLog: 2016-09-22 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config/cris/cris.c (cris_asm_output_case_end): Change argument type to rtx_insn *. * emit-rtl.c (next_nonnote_nondebug_insn): Likewise. (prev_nonnote_nondebug_insn): Likewise. * config/cris/cris-protos.h: Adjust prototype. * rtl.h: Likewise. * jump.c (rtx_renumbered_equal_p): Adjust. From-SVN: r240360
Diffstat (limited to 'gcc/jump.c')
-rw-r--r--gcc/jump.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index 87a1a5d..2164c3b 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -1806,8 +1806,10 @@ rtx_renumbered_equal_p (const_rtx x, const_rtx y)
in the same position in the instruction stream. */
else
{
- rtx_insn *xi = next_nonnote_nondebug_insn (LABEL_REF_LABEL (x));
- rtx_insn *yi = next_nonnote_nondebug_insn (LABEL_REF_LABEL (y));
+ rtx_insn *xi = next_nonnote_nondebug_insn
+ (as_a<rtx_insn *> (LABEL_REF_LABEL (x)));
+ rtx_insn *yi = next_nonnote_nondebug_insn
+ (as_a<rtx_insn *> (LABEL_REF_LABEL (y)));
while (xi && LABEL_P (xi))
xi = next_nonnote_nondebug_insn (xi);
while (yi && LABEL_P (yi))