Re: [PATCH] Fix invalid asm goto error recovery (PR middle-end/52650)

2012-11-27 Thread Richard Biener
On Tue, Nov 27, 2012 at 2:26 PM, Jakub Jelinek wrote: > Hi! > > delete_insn_and_edges doesn't DTRT here, there is __builtin_unreachable > after the invalid inline asm goto. Rather than changing the CFG and trying > to figure out what to do to remove the bogus asm goto successfully, it seems > muc

[PATCH] Fix invalid asm goto error recovery (PR middle-end/52650)

2012-11-27 Thread Jakub Jelinek
Hi! delete_insn_and_edges doesn't DTRT here, there is __builtin_unreachable after the invalid inline asm goto. Rather than changing the CFG and trying to figure out what to do to remove the bogus asm goto successfully, it seems much easier to just turn it into asm goto ("" : : : clobbers... : lab