aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2016-09-22 13:16:30 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2016-09-22 13:16:30 +0000
commitd8fd56b22635e30177b2849de33b4c6d5ef6c422 (patch)
tree0369f768fb4fc55c622f688583135c8ba9c72631 /gcc/config
parent30d2ef86a977ef7dd7472eec447be218bce286a4 (diff)
downloadgcc-d8fd56b22635e30177b2849de33b4c6d5ef6c422.zip
gcc-d8fd56b22635e30177b2849de33b4c6d5ef6c422.tar.gz
gcc-d8fd56b22635e30177b2849de33b4c6d5ef6c422.tar.bz2
make prev_real_insn take rtx_insn *
gcc/ChangeLog: 2016-09-22 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * emit-rtl.c (prev_real_insn): Change argument type to rtx_insn *. * rtl.h: Adjust prototype. * config/sh/sh.md: Adjust. * dwarf2out.c (add_var_loc_to_decl): Likewise. From-SVN: r240359
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/sh/sh.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index edc4d15..25e03ef 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -7178,7 +7178,8 @@
(label_ref (match_operand 1 "" ""))))
(use (label_ref (match_operand 2 "" "")))]
"TARGET_SH2
- && (! INSN_UID (operands[1]) || prev_real_insn (operands[1]) == insn)"
+ && (! INSN_UID (operands[1])
+ || prev_real_insn (as_a<rtx_insn *> (operands[1])) == insn)"
"braf %0%#"
[(set_attr "needs_delay_slot" "yes")
(set_attr "type" "jump_ind")])