https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97333
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It might be useful do a test of having gimple_can_duplicate_bb_p return true for all basic block again. as shown by PR 106497 and PR 106422 there definitely is some in jump threading. And it might be able to flush out more of the issues now that gimple_can_duplicate_bb_p will return false for returns_twice without getting other bug reports ...