Hi Bill,

On Sun, Dec 11, 2016 at 01:35:59PM -0600, Bill Schmidt wrote:
> --- gcc/config/rs6000/rs6000.c        (revision 243506)
> +++ gcc/config/rs6000/rs6000.c        (working copy)
> @@ -41433,6 +41433,12 @@ find_alignment_op (rtx_insn *insn, rtx base_reg)
>        if (!base_def_link || base_def_link->next)
>       break;
>  
> +      /* With stack-protector code enabled, and possibly in other
> +      circumstances, there may not be an associated insn for 
> +      the def.  */
> +      if (!base_def_link->ref->base.insn_info)
> +     break;

Maybe this should use DF_REF_IS_ARTIFICIAL?  Or if that doesn't work,
DF_REF_INSN_INFO?


Segher

Reply via email to