On 1/11/22 09:52, Richard Sandiford via Gcc-patches wrote:
Robin Dapp <rd...@linux.ibm.com> writes:
Hi Richard,
this causes a bootstrap error on s390 (where
IRA_HARD_REGNO_ADD_COST_MULTIPLIER is defined). rclass is used in the
#define-guarded area.
Gah, sorry about that.
I guess you also wanted to move this to the new function
ira_caller_save_cost?
No, the IRA_HARD_REGNO_ADD_COST_MULTIPLIER heuristic is a separate thing.
It's just that I had to remove the rclass variable to allow bootstrap on
other targets.
Could you try the attached?
Hello.
I noticed the same failure. Please push the patch.
Thanks,
Martin
Thanks,
Richard