This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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).


Bernd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]