diff options
Diffstat (limited to 'gcc/config/pa')
-rw-r--r-- | gcc/config/pa/pa-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/pa/pa.c | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/gcc/config/pa/pa-protos.h b/gcc/config/pa/pa-protos.h index 54ba1eed15f..3da845d635c 100644 --- a/gcc/config/pa/pa-protos.h +++ b/gcc/config/pa/pa-protos.h @@ -81,7 +81,7 @@ extern rtx pa_return_addr_rtx (int, rtx); extern enum direction pa_function_arg_padding (enum machine_mode, const_tree); #endif #endif /* ARGS_SIZE_RTX */ -extern int pa_insn_refs_are_delayed (rtx); +extern int pa_insn_refs_are_delayed (rtx_insn *); extern rtx pa_get_deferred_plabel (rtx); #endif /* RTX_CODE */ diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 7f1faded0a6..6db4f3dbd80 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -4143,7 +4143,7 @@ update_total_code_bytes (unsigned int nbytes) static void pa_output_function_epilogue (FILE *file, HOST_WIDE_INT size ATTRIBUTE_UNUSED) { - rtx insn = get_last_insn (); + rtx_insn *insn = get_last_insn (); bool extra_nop; /* pa_expand_epilogue does the dirty work now. We just need @@ -4161,7 +4161,7 @@ pa_output_function_epilogue (FILE *file, HOST_WIDE_INT size ATTRIBUTE_UNUSED) /* If it is a sequence, then look inside. */ if (insn && NONJUMP_INSN_P (insn) && GET_CODE (PATTERN (insn)) == SEQUENCE) - insn = XVECEXP (PATTERN (insn), 0, 0); + insn = as_a <rtx_sequence *> (PATTERN (insn))-> insn (0); /* If insn is a CALL_INSN, then it must be a call to a volatile function (otherwise there would be epilogue insns). */ @@ -6325,7 +6325,7 @@ pa_scalar_mode_supported_p (enum machine_mode mode) it branches into the delay slot. Otherwise, return FALSE. */ static bool -branch_to_delay_slot_p (rtx insn) +branch_to_delay_slot_p (rtx_insn *insn) { rtx jump_insn; @@ -6359,7 +6359,7 @@ branch_to_delay_slot_p (rtx insn) when this occurs. */ static bool -branch_needs_nop_p (rtx insn) +branch_needs_nop_p (rtx_insn *insn) { rtx jump_insn; @@ -6387,7 +6387,7 @@ branch_needs_nop_p (rtx insn) to a mis-predicted branch when we fall through. */ static bool -use_skip_p (rtx insn) +use_skip_p (rtx_insn *insn) { rtx jump_insn = next_active_insn (JUMP_LABEL (insn)); @@ -9255,7 +9255,7 @@ pa_can_combine_p (rtx_insn *new_rtx, rtx_insn *anchor, rtx_insn *floater, filter out things it will not accept -- SEQUENCE, USE and CLOBBER insns in particular. */ int -pa_insn_refs_are_delayed (rtx insn) +pa_insn_refs_are_delayed (rtx_insn *insn) { return ((NONJUMP_INSN_P (insn) && GET_CODE (PATTERN (insn)) != SEQUENCE |