https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107897
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- (gdb) p fn->curr_properties $4 = 92431 that looks like garbage. We likely cut off processing one of the functions because of the error (and failed to initialize ->curr_properties when allocating struct function). In particular we gate off build_ssa_passes but not consistently all other small IPA passes and target_clone is the only one requiring any SSA/CFG properties. I'm testing a patch for the ICE-after-error, the error remains.