Re: [PATCH, RTL] Fix PR 51106

2012-04-04 Thread Andrey Belevantsev
On 03.04.2012 13:36, Jakub Jelinek wrote: On Mon, Apr 02, 2012 at 06:56:25PM +0400, Andrey Belevantsev wrote: After Richi's RTL generation related cleanups went it, the extra cleanup_cfg call was added so we are no longer lucky to have the proper fallthru edge in this case. The PR trail has

Re: [PATCH, RTL] Fix PR 51106

2012-04-03 Thread Jakub Jelinek
On Mon, Apr 02, 2012 at 06:56:25PM +0400, Andrey Belevantsev wrote: After Richi's RTL generation related cleanups went it, the extra cleanup_cfg call was added so we are no longer lucky to have the proper fallthru edge in this case. The PR trail has the patch to purge_dead_edges making it

Re: [PATCH, RTL] Fix PR 51106

2012-04-02 Thread Andrey Belevantsev
Hello, On 19.01.2012 18:40, Jakub Jelinek wrote: On Thu, Jan 19, 2012 at 06:13:58PM +0400, Andrey Belevantsev wrote: 2012-01-19 Andrey Belevantseva...@ispras.ru PR target/51106 * function.c (instantiate_virtual_regs_in_insn): Use delete_insn_and_edges when removing a wrong

[PATCH, RTL] Fix PR 51106

2012-01-19 Thread Andrey Belevantsev
Hello, As discussed with Jakub in the PR, the problem is that a jump asm goto insn is removed without purging the dead edges. Bootstrapped and tested on x86-64. I had to use dg-prune-output to remove the error message and to make the test pass, as we only checking for an ICE. OK for