https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81308
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The ICE is because split2 apparently ends up with various unreachable basic blocks and the checking code attempts to compute dominance info before those are actually cleaned up.