[lra] Fix rtl checking failure

2012-10-18 Thread Richard Sandiford
This is the first of two patches needed to get a clean bootstrap on x86_64-linux-gnu with RTL checking enabled. It simply stops us from pushing notes, barriers, etc. onto the stack, which then trigger a checking failure when we try to access their patterns later. Tested on x86_64-linux-gnu. OK

[lra] Fix rtl checking failure, part 2

2012-10-18 Thread Richard Sandiford
Another simple patch for an rtl checking problem. We were trying to apply REGNO to something that was no longer a register (because of equiv substitution). Tested on x86_64-linux-gnu. OK for lra branch? Richard gcc/ * lra-constraints.c (check_and_process_move): Only apply REGNO

Re: [lra] Fix rtl checking failure, part 2

2012-10-18 Thread Vladimir Makarov
On 10/18/2012 09:33 AM, Richard Sandiford wrote: Another simple patch for an rtl checking problem. We were trying to apply REGNO to something that was no longer a register (because of equiv substitution). Tested on x86_64-linux-gnu. OK for lra branch? Yes. Thanks, Richard.