[PATCH 1/8] change a few rtx_insn * to rtx_jump_insn *

Kaz Kojima kkojima@rr.iij4u.or.jp
Thu Sep 15 04:33:00 GMT 2016


tbsaunde+gcc@tbsaunde.org wrote:
> @@ -2201,8 +2201,7 @@ fix_crossing_unconditional_branches (void)
>  		{
>  		  if (!BARRIER_P (cur_insn))
>  		    BLOCK_FOR_INSN (cur_insn) = cur_bb;
> -		  if (JUMP_P (cur_insn))
> -		    jump_insn = cur_insn;
> +		  jump_insn = dyn_cast<rtx_jump_insn *> (cur_insn);
>  		}

This hunk results several new failures for tree-profile tests on SH.
If the line "if (JUMP_P (cur_insn))" is restored, those failures
go away.

Regards,
	kaz



More information about the Gcc-patches mailing list