Re: IRA combine_and_move_insns fix, PR78669

2016-12-07 Thread Vladimir N Makarov
On 12/06/2016 01:10 PM, Bernd Schmidt wrote: In this PR, we have two registers with "replace" set for them. When processing the first, we delete its setter, which happens to be the only use of the other register. In the second iteration we then assert that the other register has a use, which

Re: IRA combine_and_move_insns fix, PR78669

2016-12-06 Thread Uros Bizjak
Hello! > In this PR, we have two registers with "replace" set for them. When > processing the first, we > delete its setter, which happens to be the only use of the other register. In > the second iteration we > then assert that the other register has a use, which would be reasonable if > we ha

IRA combine_and_move_insns fix, PR78669

2016-12-06 Thread Bernd Schmidt
In this PR, we have two registers with "replace" set for them. When processing the first, we delete its setter, which happens to be the only use of the other register. In the second iteration we then assert that the other register has a use, which would be reasonable if we hadn't deleted it.