[patch] Use simple LRA algorithm at -O0

Eric Botcazou ebotcazou@adacore.com
Thu Dec 19 12:13:00 GMT 2019


> Simple LRA algorithms switch off hard register splitting, so there might
> a slightly bigger chance for occurring "can find reload register" error
> (e.g. when -O0 -fschedule-insns is used). But this error is still not
> solved in general case and in my experience the chance for this error is
> even bigger for optimized modes than for -O0 with simple LRA algorithms.

I see, thanks for the explanation.  So this could occur for register varuables 
or something along these lines?

> Saying that I believe the patch is OK for the trunk.

OK, let's see how it fares.  We have been using it with a GCC 9 compiler for 
some time, without any problem so far.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list