On Sun, May 16, 2021 at 8:53 PM Joern Rennecke
<joern.renne...@embecosm.com> wrote:
>
> For architectures with likely spilled register classes, neither
> register allocator is guaranteed
> to succeed when using optimization.  If you have just a few files to
> compile, you can try
> by hand which compiler options will succeed and still give reasonable
> code, but for large projects,
> hand-tweaking library / program build rules on a file-by-file basis is
> time intensive and does not
> scale well across different build environments and compiler versions.
>
> The attached patch adds a new option -fretry-compilation that allows
> you to specify a list - or
> lists - of options to use for a compilation retry, which is
> implemented in the compiler driver.
>
> Bootstrapped on x86_64-pc-linux-gnu.

Eh, no ;)  But funny idea, nevertheless.  Do you run into the issues
with the first scheduling pass disabled?

Richard.

Reply via email to