https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103458
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:85e91ad55a69282c1b0e34569836a026a1a954d1 commit r12-5572-g85e91ad55a69282c1b0e34569836a026a1a954d1 Author: Richard Biener <rguent...@suse.de> Date: Mon Nov 29 09:15:47 2021 +0100 tree-optimization/103458 - avoid creating new loops in CD-DCE When creating forwarders in CD-DCE we have to avoid creating loops where we formerly did not consider those because of abnormal predecessors. At this point simply excuse us when there are any abnormal predecessors. 2021-11-29 Richard Biener <rguent...@suse.de> PR tree-optimization/103458 * tree-ssa-dce.c (make_forwarders_with_degenerate_phis): Do not create forwarders for blocks with abnormal predecessors. * gcc.dg/torture/pr103458.c: New testcase.