https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121679
--- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> --- On Wed, 27 Aug 2025, rearnsha at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121679 > > --- Comment #5 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- > (In reply to Richard Biener from comment #4) > > DSE/DCE sometimes need "iteration", removing of trivially dead stmts in DSE > > helped to some extent, but yes, some of this is expected. > > Is it worth iterating while 'something changed', or might that never > terminate, > or be too expensive? The latter, but you'd need to iterate between passes here to get every possibility resolved (I've tried to merge DCE and DSE at some point, but they work too differently for that to be feasible IIRC)