https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88933
--- Comment #14 from Jan Hubicka <hubicka at ucw dot cz> --- > I'm currently testing this fix. Cleanup_cfg does other transformations that makes profile to change and statements move within bbs. Just use the unreachable block removal infrastructure we already have and keep it up to fixup_cfg to clean up remaining cases.