On Nov 29 2017, Vladimir Makarov <vmaka...@redhat.com> wrote:

> +2017-11-29  Vladimir Makarov  <vmaka...@redhat.com>
> +
> +     PR rtl-optimization/80818
> +     * lra.c (collect_non_operand_hard_regs): New arg insn.  Pass it
> +     recursively.  Use insn code for clobber.
> +     (lra_set_insn_recog_data): Pass the new arg to
> +     collect_non_operand_hard_regs.
> +     (add_regs_to_insn_regno_info): Pass insn instead of uid.  Use insn
> +     code for clobber.
> +     (lra_update_insn_regno_info): Pass insn to
> +     add_regs_to_insn_regno_info.
> +

This causes many regressions on powerpc, for example:

FAIL: gcc.c-torture/compile/pr70240.c   -Os  (test for excess errors)
Excess errors:
/tmp/cc9usHrI.s:101: Error: address register in load range
/tmp/cc9usHrI.s:143: Error: address register in load range
/tmp/cc9usHrI.s:182: Error: address register in load range
/tmp/cc9usHrI.s:278: Error: address register in load range
/tmp/cc9usHrI.s:296: Error: address register in load range
/tmp/cc9usHrI.s:307: Error: address register in load range
/tmp/cc9usHrI.s:316: Error: address register in load range

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to