On 04/07/2016 01:52 PM, Senthil Kumar Selvaraj wrote:
The below patch fixes PR 60040 by not halting with a hard error on
a spill failure, if reload knows that it has to run again anyway.
Some additional information as to how this situation creates a spill
failure would be useful. It's hard to tell whether this patch just
papers over a problem that can still trigger in other circumstances.
- spill_failure (chain->insn, rld[r].rclass);
- failure = 1;
- return;
+ if (!tentative)
+ {
+ spill_failure (chain->insn, rld[r].rclass);
+ failure = 1;
+ return;
+ }
}
The indentation looks all wrong.
Bernd