Re: [PATCH] regcprop: Avoid DCE of asm goto [PR100590]

2021-05-18 Thread Richard Biener
On Tue, 18 May 2021, Jakub Jelinek wrote: > Hi! > > The following testcase ICEs, because copyprop_hardreg_forward_1 decides > to DCE asm goto with REG_UNUSED notes (because the output is unused and > asm isn't volatile). But that DCE just removes the asm goto, leaving > a bb with two successors

[PATCH] regcprop: Avoid DCE of asm goto [PR100590]

2021-05-18 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs, because copyprop_hardreg_forward_1 decides to DCE asm goto with REG_UNUSED notes (because the output is unused and asm isn't volatile). But that DCE just removes the asm goto, leaving a bb with two successors and no insn at the end that would allow that. The foll