Re: [PATCH] Fix asm goto handling in outof_cfglayout (PR rtl-optimization/51767)

2012-01-05 Thread Richard Henderson
On 01/06/2012 07:00 AM, Jakub Jelinek wrote: > PR rtl-optimization/51767 > * cfgrtl.c (force_nonfallthru_and_redirect): Force addition > of jump_block and add an extra edge for degenerated asm gotos. > > * gcc.c-torture/compile/pr51767.c: New test. Ok. r~

[PATCH] Fix asm goto handling in outof_cfglayout (PR rtl-optimization/51767)

2012-01-05 Thread Jakub Jelinek
Hi! On the following testcase we ICE, because one of the asm gotos degenerates (has the same fallthru block as jump label destination) and the target basic block doesn't immediately follow the block ending in the asm goto. During outof_cfglayout force_nonfallthru_and_redirect incorrectly adds an u