[SFN] Bootstrap broken

Jakub Jelinek jakub@redhat.com
Wed Dec 13 08:32:00 GMT 2017


On Wed, Dec 13, 2017 at 05:29:28AM -0200, Alexandre Oliva wrote:
> Regstrapping; I suppose I could install it as obvious, but...  Ok to install?
> 
> 
> [SFN] don't eliminate regs in markers
> 
> Eliminate regs in debug bind insns, but not in markers.
> 
> for  gcc/ChangeLog
> 
> 	PR bootstrap/83396
> 	* reload1.c (eliminate_regs_in_insn): Skip debug markers.

Ok.

> --- a/gcc/reload1.c
> +++ b/gcc/reload1.c
> @@ -3202,7 +3202,7 @@ eliminate_regs_in_insn (rtx_insn *insn, int replace)
>  		  || GET_CODE (PATTERN (insn)) == USE
>  		  || GET_CODE (PATTERN (insn)) == CLOBBER
>  		  || GET_CODE (PATTERN (insn)) == ASM_INPUT);
> -      if (DEBUG_INSN_P (insn))
> +      if (DEBUG_BIND_INSN_P (insn))
>  	INSN_VAR_LOCATION_LOC (insn)
>  	  = eliminate_regs (INSN_VAR_LOCATION_LOC (insn), VOIDmode, insn);
>        return 0;

	Jakub



More information about the Gcc-patches mailing list