https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117922
--- Comment #20 from Richard Biener <rguenth at gcc dot gnu.org> --- For the time being you could go the ext-dce workaround I added in r15-6793-g03faac50791380 and disable the pass when computing the DF problems will likely go out of hands. I agree that avoiding whole function DF when it's not actually needed would be good. RTL-SSA might be OK, but I suspect it has similar worse-cases when operating on a whole function. I suppose building it more locally might be possible as well (I think a "local" DF would be possible, too, but it requires some engineering here).