On Mon, Mar 21, 2016 at 9:06 AM, Alan Modra <amo...@gmail.com> wrote:
> Treat -ffixed-reg as we do for global asm regs.  The only slightly
> complicated part of this patch is that the rs6000 backend itself sets
> fixed_regs[RS6000_PIC_OFFSET_TABLE_REGNUM] in some cases, which means
> we can't simply test fixed_regs[] to determine whether a reg appeared
> as -ffixed-reg.
>
>         PR target/69645
>         * config/rs6000/rs6000.c (fixed_reg_p): New function.
>         (fixed_regs_p): Rename from global_regs_p.  Call fixed_reg_p.
>         Update all uses.

Okay.

Thanks, David

Reply via email to