https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102703
--- Comment #16 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I have a new patch in testing that replaces patch 4 and uses simple_dce_from_worklist instead which moves of the detection of dead code to already common code.