diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2016-09-22 13:16:35 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2016-09-22 13:16:35 +0000 |
commit | 1f00691e9b28370c9e9986afc46dd9f7c42024bc (patch) | |
tree | d6909c3f9e76c396339eb33e04190c171dbd81db /gcc/jump.c | |
parent | d8fd56b22635e30177b2849de33b4c6d5ef6c422 (diff) | |
download | gcc-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.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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)) |