Re: [PATCH] ivopts: Fix IP_END handling for asm goto [PR107997]

2022-12-10 Thread Richard Biener via Gcc-patches
> Am 10.12.2022 um 10:40 schrieb Jakub Jelinek via Gcc-patches > : > > Hi! > > The following testcase ICEs, because the latch bb ends with > asm goto which has both fallthrough to the header and one or more labels > in the header too. In that case there is just a single edge out of the > la

[PATCH] ivopts: Fix IP_END handling for asm goto [PR107997]

2022-12-10 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs, because the latch bb ends with asm goto which has both fallthrough to the header and one or more labels in the header too. In that case there is just a single edge out of the latch block, but still the asm goto is stmt_ends_bb_p statement, yet ivopts decides to em