This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch to fix PR80818


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

> +2017-11-29  Vladimir Makarov  <vmakarov@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, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]