https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102880
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 51652 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51652&action=edit not working patch OK, that's definitely a too simplistic idea, the basic assessment still holds though. CD-DCE benefits from forwarders for equal PHI arguments. Not working patch attached (using the common dominator idea). Regresses for example gcc.c-torture/execute/20050218-1.c.