https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128172
--- Comment #4 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:9b75ebb5068abcf009dd1f7f8014c3b535b9042e commit r17-5665-g9b75ebb5068abcf009dd1f7f8014c3b535b9042e Author: Richard Biener <[email protected]> Date: Wed Oct 28 14:09:46 2026 +0100 tree-optimization/128172 - avoid fixing up removed stmt This avoids fixing up a stmt we removed as part of EH cleanup earlier during the DOM cleanup phase. PR tree-optimization/128172 * tree-ssa-dom.cc (pass_dominator::execute): Check a stmt is still in the IL before calling fixup_noreturn_call on it. * c-c++-common/torture/pr128172.c: New testcase.
