RFC/RFA: Fix bug with REE optimization corrupting extended registers

Bernd Schmidt bschmidt@redhat.com
Thu Nov 19 16:53:00 GMT 2015

On 11/19/2015 04:34 PM, Nick Clifton wrote:
> Hi Bernd,
>> I had a look around. There's code testing HARD_REGNO_NREGS in
>> ree.c:combine_set_extension. It's inside #if 0, and labelled
>> "temporarily disabled". See if enabling that helps you? (Jeff, that #if
>> 0 was added by you).
> I suspect that the code was disabled because it prevented too many
> useful optimization opportunities.

Well, correctness goes first. Since reenabling it fixes your problem, 
that change is approved (conditional on testing as usual obviously).


More information about the Gcc-patches mailing list