[PATCH 10/10] Use rtx_insn for various jump-handling functions and predicates

Richard Sandiford richard.sandiford@arm.com
Fri Sep 5 13:03:00 GMT 2014


David Malcolm <dmalcolm@redhat.com> writes:
> diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
> index 7cddab7..57eb83b 100644
> --- a/gcc/config/arc/arc.c
> +++ b/gcc/config/arc/arc.c
> @@ -2849,8 +2849,8 @@ arc_print_operand (FILE *file, rtx x, int code)
>  	  /* Is this insn in a delay slot sequence?  */
>  	  if (!final_sequence || XVECLEN (final_sequence, 0) < 2
>  	      || current_insn_predicate
> -	      || CALL_P (XVECEXP (final_sequence, 0, 0))
> -	      || simplejump_p (XVECEXP (final_sequence, 0, 0)))
> +	      || CALL_P (final_sequence->insn (0))
> +	      || simplejump_p (final_sequence-> insn (0)))
>  	    {
>  	      /* This insn isn't in a delay slot sequence, or conditionalized
>  		 independently of its position in a delay slot.  */

Sorry for the nit, but: stray space after "->".

Thanks,
Richard



More information about the Gcc-patches mailing list