https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128426
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:0937fd11d029751f43bdf020ebcd9b4872f2d500 commit r17-5919-g0937fd11d029751f43bdf020ebcd9b4872f2d500 Author: Richard Biener <[email protected]> Date: Wed Nov 4 09:47:30 2026 +0100 tree-optimization/128426 - do not propagate zero to abnormal edge The following fixes up the odd code in simple-dce that avoids releasing defs but instead propagates zeros to uses. We may not do this to PHI arguments flowing in from abnormal edges. PR tree-optimization/128426 * tree-ssa-dce.cc (simple_dce_from_worklist): Keep PHI defs on abnormal edges. * gcc.dg/torture/pr128426.c: New testcase.
