https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97008
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- I see. Wonder if it that shouldn't be in can_duplicate_block_p though (where the GIMPLE variant doesn't do anything, so a full stmt walk would be expensive).