https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125146
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:0595867e0c239d74dea52dbceaca9726b683713a commit r16-8883-g0595867e0c239d74dea52dbceaca9726b683713a Author: Richard Biener <[email protected]> Date: Mon May 4 11:02:01 2026 +0200 middle-end/125146 - fold_stmt fails to release SSA names When match-and-simplify simplification fails we have to release eventually pushed stmts. PR middle-end/125146 * gimple-fold.cc (fold_stmt_1): Discard stmts in seq after failed gimple_simplify as well. (cherry picked from commit 71f161d8c5dc2cba7e6a74e87a1b7b86000036e0)
