https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107867
--- Comment #2 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:0976b012d89e3d819d83cdaf0dab05925b3eb3a0 commit r13-4316-g0976b012d89e3d819d83cdaf0dab05925b3eb3a0 Author: Richard Biener <rguent...@suse.de> Date: Fri Nov 25 13:53:14 2022 +0100 tree-optimization/107867 - failed abnormal cleanup in forwprop The following makes sure to perform abnormal cleanup when forwprop propagates into a call. PR tree-optimization/107867 * tree-ssa-forwprop.cc (pass_forwprop::execute): Handle abnormal cleanup after substitution. * g++.dg/pr107867.C: New testcase.