This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Use single_set in loop.c


On Tue, Jul 31, 2001 at 11:21:04AM -0700, Geoff Keating wrote:
>  	      /* Save some info needed to produce the new insns.  */
>  	      reg = bl->biv->dest_reg;
> -	      jump_label = XEXP (SET_SRC (PATTERN (PREV_INSN (loop_end))), 1);
> +	      jump_label = XEXP (SET_SRC (single_set (PREV_INSN (loop_end))), 
> +				 1);
>  	      if (jump_label == pc_rtx)
> -		jump_label = XEXP (SET_SRC (PATTERN (PREV_INSN (loop_end))), 2);
> +		jump_label = XEXP (SET_SRC (single_set (PREV_INSN (loop_end))),
> +				   2);

See condjump_label.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]